[[Backoff]] defines how long to wait before the next retry. Implementations of [[Backoff]] provide custom algorithms for calculating the backoff amount.

interface Backoff {
    nextBackoffAmountMs(): number;
    reset(): void;
}

Implemented by

Methods