ICARetryPolicy
@spartanfx/react / codeapps / ICARetryPolicy
Interface: ICARetryPolicy
Retry/backoff policy applied to mutations (create/update/delete) and idempotent reads. Retries are skipped for 4xx errors except 408/429.
Properties
Options
Events & callbacks
| Property | Type | Description |
|---|---|---|
shouldRetry? | (error, attempt) => boolean | Predicate to decide whether an error is retryable. Defaults to retry on network errors, 408, 429, and 5xx. |