import * as tsplus_module_1 from "@effect/core/io/Schedule/operations/repeatForever";
import * as tsplus_module_2 from "@effect/core/io/Schedule/operations/addDelay";
/**
 * Returns a schedule that recurs continuously, each repetition spaced the
 * specified duration from the last run.
 *
 * @tsplus static ets/Schedule/Ops spaced
 */

export function spaced(duration) {
  return tsplus_module_2.addDelay_(tsplus_module_1.repeatForever, duration);
}
//# sourceMappingURL=spaced.mjs.map