File: AsyncRetryerState.md | Updated: 11/15/2025
Search...
+ K
Auto
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Maintainers Partners Support Learn StatsBETA Discord Merch Blog GitHub Ethos Brand Guide
Documentation
Framework
React
Version
Latest
Search...
+ K
Menu
Getting Started
Guides
API Reference
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference
Batcher API Reference
Debouncer Examples
Throttler Examples
Rate Limiter Examples
Queue Examples
Batcher Examples
TanStack Query Examples
Framework
React
Version
Latest
Menu
Getting Started
Guides
API Reference
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference
Batcher API Reference
Debouncer Examples
Throttler Examples
Rate Limiter Examples
Queue Examples
Batcher Examples
TanStack Query Examples
On this page
Copy Markdown
Interface: AsyncRetryerState<TFn>
=================================
Defined in: async-retryer.ts:6
Type Parameters
---------------
### TFn
TFn extends AnyAsyncFunction
Properties
----------
### currentAttempt
ts
currentAttempt: number;
currentAttempt: number;
Defined in: async-retryer.ts:10
The current retry attempt number (0 when not executing)
ts
executionCount: number;
executionCount: number;
Defined in: async-retryer.ts:14
Total number of completed executions (successful or failed)
ts
isExecuting: boolean;
isExecuting: boolean;
Defined in: async-retryer.ts:18
Whether the retryer is currently executing the function
ts
lastError: Error | undefined;
lastError: Error | undefined;
Defined in: async-retryer.ts:22
The most recent error encountered during execution
ts
lastExecutionTime: number;
lastExecutionTime: number;
Defined in: async-retryer.ts:26
Timestamp of the last execution completion in milliseconds
ts
lastResult: Awaited<ReturnType<TFn>> | undefined;
lastResult: Awaited<ReturnType<TFn>> | undefined;
Defined in: async-retryer.ts:30
The result from the most recent successful execution
ts
status: "disabled" | "idle" | "executing" | "retrying";
status: "disabled" | "idle" | "executing" | "retrying";
Defined in: async-retryer.ts:34
Current execution status - 'disabled' when not enabled, 'idle' when ready, 'executing' when running
ts
totalExecutionTime: number;
totalExecutionTime: number;
Defined in: async-retryer.ts:38
Total time spent executing (including retries) in milliseconds
