RetryConfig
User-facing retry configuration (axios-retry style). Every field is optional and falls back to the built-in default policy.
interface RetryConfig {
retries?: number;
retryCondition?: RetryCondition;
retryDelay?: RetryDelay;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
retries | Optional | number | Maximum number of retries after the initial attempt (so 2 allows up to 3 attempts total). 0 disables retrying. 2 |
retryCondition | Optional | RetryCondition | Decides whether a failed call should be retried. By default, retries transient transport errors (502/503/504/408/429 and normalized network failures). The context (method/integration/extension name, attempt, budget, logger) is available for custom conditions, e.g. to restrict retries to specific methods. |
retryDelay | Optional | RetryDelay | Returns the delay in milliseconds before the given retry. Defaults to randomized exponential backoff. |