A Backoff produces a series of numbers that are used to determine the delay between connection-retries. Values are expected to be in milliseconds.
Readonly
Current number in the series.
The number of retries. Starts at 0, increases by 1 for each call to next(). Resets to 0 when reset() is called.
Advances the series to the next number and returns it.
the next number in the series
Resets the series to its initial state.
Generated using TypeDoc
A Backoff produces a series of numbers that are used to determine the delay between connection-retries. Values are expected to be in milliseconds.