# Functions
Await for multiple futures, Return nil if no future returns error, or return the first error in these futures.
BlockOnAll blocks until all futures complete.
Go spawns a goroutine to execute fn, returns a future that contains the result of fn.
NewDefaultPool returns a pool with cap of the number of logical CPU, and pre-alloced goroutines.
NewPool returns a goroutine pool.
WarmupPool do warm up logic for each goroutine in pool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Future is a result type of async-await style.
A goroutine pool.
Singleflight wraps golang.org/x/sync/singleflight.Group into generic one.
SingleflightResult is a generic Result wrapper for DoChan.
# Type aliases
PoolOption options function to setup pool.