Package: effect
Module: Schedule
Returns a new schedule that stops execution when the given effectful
predicate on the output evaluates to true.
Details
This function modifies an existing schedule so that it only continues
executing while the provided effectful predicate returns false for its
output values. Once the predicate returns true, execution stops.
See
untilOutput If you need to use a pure predicate.Signature
declare const untilOutputEffect: { <Out, R2>(f: (out: Out) => Effect.Effect<boolean, never, R2>): <In, R>(self: Schedule<Out, In, R>) => Schedule<Out, In, R2 | R>; <Out, In, R, R2>(self: Schedule<Out, In, R>, f: (out: Out) => Effect.Effect<boolean, never, R2>): Schedule<Out, In, R | R2>; }
Since v2.0.0