Interface: BackoffDelayOptions
Defined in: shared/utils/backoff.ts:27
Parameters for calculateBackoffDelayMs.
Propertiesโ
attemptIndexโ
readonlyattemptIndex:number
Defined in: shared/utils/backoff.ts:36
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:39
Base delay (ms) for the first retry attempt.
multiplier?โ
readonlyoptionalmultiplier?:number
Defined in: shared/utils/backoff.ts:46
Exponential multiplier.
Default Valueโ
2;
strategyโ
readonlystrategy:BackoffStrategy
Defined in: shared/utils/backoff.ts:49
Backoff strategy.