Kind: Function
Source: atloria-monorepo/packages/api-client/src/utils/retry.ts
Retry a function with exponential backoff
Signature
tsasync function withRetry(fn: () => Promise<T>, options: RetryOptions): Promise<T>
Parameters
| Name | Type |
|---|---|
fn | () => Promise<T> |
options | RetryOptions |
Returns: Promise<T>
Was this page helpful?