Package: effect
Module: Sink
Accumulates incoming elements into an array.
When to use
Use when you need a sink result containing all upstream input elements.
See
take for collecting only a fixed number of input elementsSignature
declare const collect: <In>() => Sink<Array<In>, In>
Since v4.0.0