/** * Returns a new schedule with the specified effectfully computed delay added * before the start of each interval produced by this schedule. * * @tsplus static effect/core/io/Schedule.Aspects delayedEffect * @tsplus pipeable effect/core/io/Schedule delayedEffect */ export function delayedEffect( f: (duration: Duration) => Effect ) { return ( self: Schedule ): Schedule => self.modifyDelayEffect((_, delay) => f(delay)) }