API reference › @evolu/common › Task › RepeatOptions
Defined in: packages/common/src/Task.ts:2073
Options for repeat.
Properties
onRepeat?
readonly optional onRepeat?: (attempt: RepeatAttempt<T, Output>) => void;
Defined in: packages/common/src/Task.ts:2080
Callback invoked before each repeat with value, repeat attempt number, schedule output, and delay.
repeatable?
readonly optional repeatable?: Predicate<T>;
Defined in: packages/common/src/Task.ts:2075
Predicate to determine if value is repeatable. Defaults to all values.