Package: effect
Module: Sink
A sink that effectfully folds its inputs with the provided function, termination predicate and initial state.
Signature
declare const foldEffect: <S, In, E, R>(s: S, contFn: Predicate<S>, f: (s: S, input: In) => Effect.Effect<S, E, R>) => Sink<S, In, In, E, R>
Since v2.0.0