effect-io-ai

Package: effect
Module: Sink

Sink.takeUntil

Collects input elements until the predicate returns true, including the matching element in the result.

Signature

declare const takeUntil: <In>(predicate: Predicate<In>) => Sink<Array<In>, In, In>

Source

Since v4.0.0