/** * A schedule that recurs during the given duration. * * @tsplus static effect/core/io/Schedule.Aspects upTo * @tsplus pipeable effect/core/io/Schedule upTo */ export function upTo(duration: Duration) { return ( self: Schedule ): Schedule], Env, In, Out> => self.zipLeft(Schedule.recurUpTo(duration)) }