/** * Returns a new schedule that continues until the specified effectful * predicate on the output evaluates to true. * * @tsplus static effect/core/io/Schedule.Aspects untilOutputEffect * @tsplus pipeable effect/core/io/Schedule untilOutputEffect */ export function untilOutputEffect( f: (out: Out) => Effect ) { return ( self: Schedule ): Schedule => self.checkEffect((_, out) => f(out).negate) }