API reference › @evolu/common › Task › RepeatAttempt
Defined in: packages/common/src/Task.ts:4076
Information passed to RepeatOptions.onRepeat.
Extends
ScheduleStep<Output>
Properties
attempt
readonly attempt: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"Positive">;
Defined in: packages/common/src/Schedule.ts:132
The current attempt.
Inherited from
delay
readonly delay: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">;
Defined in: packages/common/src/Schedule.ts:138
Delay before the scheduled recurrence executes.
Inherited from
output
readonly output: Output;
Defined in: packages/common/src/Schedule.ts:135
Output from the Schedule step.
Inherited from
value
readonly value: T;
Defined in: packages/common/src/Task.ts:4078
The Ok value returned by the completed attempt.