Interface: BackoffDelayOptions
Defined in: shared/utils/backoff.ts:25
Parameters for calculateBackoffDelayMs.
Propertiesโ
attemptIndexโ
readonlyattemptIndex:number
Defined in: shared/utils/backoff.ts:34
0-based retry index.
Remarksโ
This is intentionally not the same as an "attempt number" that starts
at 1. If you have an attempt number (1-based), convert via attemptIndex = attemptNumber - 1.
initialDelayMsโ
readonlyinitialDelayMs:number
Defined in: shared/utils/backoff.ts:37
Base delay (ms) for the first retry attempt.
multiplier?โ
readonlyoptionalmultiplier:number
Defined in: shared/utils/backoff.ts:44
Exponential multiplier.
Default Valueโ
2;
strategyโ
readonlystrategy:BackoffStrategy
Defined in: shared/utils/backoff.ts:47
Backoff strategy.