Package: effect
Module: Sink
Applies a FilterEffect to input elements effectfully while it succeeds,
collecting each successful output.
Details
The first input for which the filter fails is consumed and excluded from the result. Any later elements from the same pulled array are returned as leftovers.
Signature
declare const takeWhileFilterEffect: <In, Out, X, E, R>(filter: Filter.FilterEffect<In, Out, X, E, R>) => Sink<Array<Out>, In, In, E, R>
Since v4.0.0