Documentation
¶
Overview ¶
Package group runs steps in parallel.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Results ¶
type Results []Result
Results holds one Result per function, in order.
func Parallel ¶
Parallel runs fns as parallel steps. Each fn runs until its first new step. When new steps are found, the engine gets them all at once: step.Run calls are planned and then run one per request, at the same time; other steps (sleep, wait, invoke, send) start at once. Parallel returns only when every fn has finished; until then it stops the function like any other new step.
The fns run one after another in this goroutine, so step IDs are counted the same way on every call. Give each step in the group its own ID.