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 gatherValue

std/flow/scatter::gatherValue


Generics

◻ R (any)

Configuration

⬡ scatter: std/flow/scatter::Scatter

Required contexts

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

Inputs

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


Gather a scattered track, with a value.

As gather, giving the value received through value to scatterGathering, which gives it through gathered. The value is given whatever the end of the track, and a track sending none gives none.

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