const fileName_1 = "(@effect/core) _src/io/Schedule/operations/addDelayEffect.ts";
import * as tsplus_module_1 from "@tsplus/stdlib/data/Duration";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/map";
import * as tsplus_module_3 from "@effect/core/io/Schedule/operations/modifyDelayEffect";
/**
 * Returns a new schedule with the given effectfully computed delay added to
 * every interval defined by this schedule.
 *
 * @tsplus fluent ets/Schedule addDelayEffect
 * @tsplus fluent ets/Schedule/WithState addDelayEffect
 */

export function addDelayEffect_(self, f) {
  return tsplus_module_3.modifyDelayEffect_(self, (out, duration) => tsplus_module_2.map_(f(out), _ => tsplus_module_1.add_(duration, _), fileName_1 + ":12:62"));
}
/**
 * Returns a new schedule with the given effectfully computed delay added to
 * every interval defined by this schedule.
 *
 * @tsplus static ets/Schedule/Aspects addDelayEffect
 */

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