The longest extended-regime delay, in milliseconds; never less than the extended initial delay.
The delay before the first retry in the extended regime, in milliseconds.
The longest normal-regime delay, in milliseconds.
The delay before the first retry in the normal regime, in milliseconds.
Optional operatingThe wait between healthy operations, in milliseconds. No wait is ever shorter than this. Zero (the default) for a component that operates continuously.
Optional randomThe random source used for jitter.
Decides when the retry state resets.
Generated using TypeDoc
Configuration for a RetryState.
Values are trusted, not validated: each delay bound must be a positive, finite number of milliseconds, and the operating cadence a non-negative, finite one. The factories (forStreaming, forPolling) are the validated entry points for anything user-configurable; a caller constructing directly is expected to supply known-good values.