effect-io-ai

Package: effect
Module: Sink

Sink.dropWhileEffect

Drops incoming elements as long as the effectful predicate is satisfied.

Signature

declare const dropWhileEffect: <In, E, R>(predicate: (input: In) => Effect.Effect<boolean, E, R>) => Sink<unknown, In, In, E, R>

Source

Since v2.0.0