Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All[V comparable](fnCtx context.Context, fns ...func(fnCtx context.Context) (V, error)) ([]V, []error)
All provides similar concurrency to JavaScript's Promise.All, however with 1 distinction. []func that are passed in must respect fnCtx cancellation and returns, otherwise All will block even if fnCtx is cancelled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.