Skip to main content
Version: 0.8

Interface: RetryConfig

Defined in: sdk/src/types.ts:2

Retry behavior for transient failures (network errors, 5xx, 429).

Properties

backoffMultiplier?

optional backoffMultiplier?: number

Defined in: sdk/src/types.ts:8

Multiplier applied to the delay between attempts. Default: 2.


initialDelayMs?

optional initialDelayMs?: number

Defined in: sdk/src/types.ts:6

Initial backoff delay in milliseconds. Default: 250.


maxAttempts?

optional maxAttempts?: number

Defined in: sdk/src/types.ts:4

Maximum retry attempts on top of the initial request. Default: 2.


maxDelayMs?

optional maxDelayMs?: number

Defined in: sdk/src/types.ts:10

Cap on the delay between attempts. Default: 5000.