API reference › @evolu/common › Task › RetryAttempt
Defined in: packages/common/src/Task.ts:3883
Information passed to RetryOptions.onRetry.
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
error
readonly error: E;
Defined in: packages/common/src/Task.ts:3885
The domain error returned by the failed attempt.
output
readonly output: Output;
Defined in: packages/common/src/Schedule.ts:135
Output from the Schedule step.