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