Package: effect
Module: Stream
Reduces the elements in the stream to a value of type S. Stops the fold
early when the condition is not fulfilled. Example:
Signature
declare const runFoldWhile: { <S, A>(s: S, cont: Predicate<S>, f: (s: S, a: A) => S): <E, R>(self: Stream<A, E, R>) => Effect.Effect<S, E, R>; <A, E, R, S>(self: Stream<A, E, R>, s: S, cont: Predicate<S>, f: (s: S, a: A) => S): Effect.Effect<S, E, R>; }
Since v2.0.0