effect-io-ai

Package: effect
Module: Sink

Sink.collect

Accumulates incoming elements into an array.

When to use

Use when you need a sink result containing all upstream input elements.

See

Signature

declare const collect: <In>() => Sink<Array<In>, In>

Source

Since v4.0.0