Function: nextAttemptAtIso()
function nextAttemptAtIso(
nowMs,
attempt,
policy,
rand?
): string;
Defined in: backoff.ts:52
The same delay as an ISO timestamp, ready for outbox.fail(...).
Parameters
| Parameter | Type | Default value |
|---|---|---|
nowMs | number | undefined |
attempt | number | undefined |
policy | BackoffPolicy | undefined |
rand | RandomSource | Math.random |
Returns
string