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