Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All runs all tasks and returns their results in the same order as tasks. Nil tasks are skipped and leave a nil result at their index. If any task fails, All discards all results and returns the first error.
func AllResults ¶ added in v0.4.37
AllResults runs all tasks and returns their results in the same order as tasks. Unlike All, it keeps the results of the tasks that succeeded when one or more tasks fail. Failed and nil tasks leave a nil result at their index, so the returned slice always has the same length as tasks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.