Defined in: async-retryer.ts:5
TFn extends AnyAsyncFunction
currentAttempt: number;Defined in: async-retryer.ts:9
The current retry attempt number (0 when not executing)
executionCount: number;Defined in: async-retryer.ts:13
Total number of completed executions (successful or failed)
isExecuting: boolean;Defined in: async-retryer.ts:17
Whether the retryer is currently executing the function
lastError: Error | undefined;Defined in: async-retryer.ts:21
The most recent error encountered during execution
lastExecutionTime: number;Defined in: async-retryer.ts:25
Timestamp of the last execution completion in milliseconds
lastResult: Awaited<ReturnType<TFn>> | undefined;Defined in: async-retryer.ts:29
The result from the most recent successful execution
status: "disabled" | "idle" | "executing" | "retrying";Defined in: async-retryer.ts:33
Current execution status - 'disabled' when not enabled, 'idle' when ready, 'executing' when running
totalExecutionTime: number;Defined in: async-retryer.ts:37
Total time spent executing (including retries) in milliseconds