effect-io-ai

Package: effect
Module: Schedule

Schedule.spaced

Returns a schedule that recurs continuously, with each repetition spaced by the specified duration from the last run.

Details

This schedule ensures that executions occur at a fixed interval, maintaining a consistent delay between repetitions. The delay starts from the end of the last execution, not from the schedule start time.

See

Signature

declare const spaced: (duration: Duration.DurationInput) => Schedule<number>

Source

Since v2.0.0