const fileName_1 = "(@effect/core) _src/io/Schedule/operations/delayed.ts";
import * as tsplus_module_1 from "@effect/core/io/Effect/operations/succeed";
import * as tsplus_module_2 from "@effect/core/io/Schedule/operations/delayedEffect";
/**
 * Returns a new schedule with the specified effectfully computed delay added
 * before the start of each interval produced by this schedule.
 *
 * @tsplus fluent ets/Schedule delayed
 * @tsplus fluent ets/Schedule/WithState delayed
 */

export function delayed_(self, f) {
  return tsplus_module_2.delayedEffect_(self, duration => tsplus_module_1.succeed(() => f(duration), fileName_1 + ":12:57"));
}
/**
 * Returns a new schedule with the specified effectfully computed delay added
 * before the start of each interval produced by this schedule.
 *
 * @tsplus static ets/Schedule/Aspects delayed
 */

export const delayed = f => self => delayed_(self, f);
//# sourceMappingURL=delayed.mjs.map