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