github.com/garlicnation/promises/v2 (go): Package promise builds something similar to JS style promises, or Futures(as seen in Java and other languages) for golang.  promise is type-safe at runtime, and within an order of magnitude of performance of a solution built with pure channels and goroutines.  For a more thorough introduction to the library, please check out https://github.com/garlicnation/promises/blob/master/blog_example/WHY.md  Single promise:  Chained Promise:  Promise.all:  Error handling:
Keywords: future|golang-library|promises