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

export function addDelay_(self, f) {
  return tsplus_module_2.addDelayEffect_(self, out => tsplus_module_1.succeed(() => f(out), fileName_1 + ":12:53"));
}
/**
 * Returns a new schedule with the given delay added to every interval defined
 * by this schedule.
 *
 * @tsplus static ets/Schedule/Aspects addDelay
 */

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