Package: effect
Module: Sink
Creates a sink that effectfully folds elements of type In into a
structure of type S until max elements have been folded.
Like Sink.foldWeightedEffect but with a constant cost function of 1.
Signature
declare const foldUntilEffect: <S, In, E, R>(s: S, max: number, f: (s: S, input: In) => Effect.Effect<S, E, R>) => Sink<S, In, In, E, R>
Since v2.0.0