Skip to content

Interface: RetryOptions

Interface: RetryOptions

Defined in: auth-client/src/core/adapters/fetch-transport.ts:40

Properties

baseDelayMs?

optional baseDelayMs?: number

Defined in: auth-client/src/core/adapters/fetch-transport.ts:44

Base delay between attempts in ms. Default 200.


jitterMs?

optional jitterMs?: number

Defined in: auth-client/src/core/adapters/fetch-transport.ts:48

Add up to this many ms of random jitter per attempt. Default 50.


maxAttempts?

optional maxAttempts?: number

Defined in: auth-client/src/core/adapters/fetch-transport.ts:42

Total attempts including the first call. Default 3.


maxDelayMs?

optional maxDelayMs?: number

Defined in: auth-client/src/core/adapters/fetch-transport.ts:46

Cap on individual attempt delay. Default 2000.