Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment gather

std/flow/scatter::gather


Configuration

⬡ scatter: std/flow/scatter::Scatter

Required contexts

⥱ @Scattered: std/flow/scatter::@Scattered

Inputs

⇥ completed: Block<void>
⇥ error: Block<string>
⇥ failed: Block<void>


Gather a scattered track.

In a track made by scatter, tells how the track ended: completed when it did what it had to, or failed with error. When neither completed nor failed is emitted before they end, the track is counted as failed, so that scatter never waits for it.

scatter must be the same Scatter as the scatter and scattered making the track.