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