/** * 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 delayed * @tsplus pipeable effect/core/io/Schedule delayed */ export function delayed(f: (duration: Duration) => Duration) { return ( self: Schedule ): Schedule => self.delayedEffect((duration) => Effect.sync(f(duration))) }