Kind: Function
Source: atloria-monorepo/packages/doc-automation/src/v2/providers/retry.ts
Execute an async operation with retry logic
Signature
tsasync function withRetry(operation: () => Promise<T>, config: RetryConfig): Promise<T>
Parameters
| Name | Type |
|---|---|
operation | () => Promise<T> |
config | RetryConfig |
Returns: Promise<T>
Was this page helpful?