type RetryBackoff = | ((attempt) => number) | { baseMs?: number | string; capMs?: number | string; jitter?: number;};
Defined in: durability/types.ts:348Retry delay policy: a function of the 1-based attempt that just failed, or the
parameters of capped exponential backoff with jitter
(min(capMs, baseMs * 2^(attempt-1)), then ± jitter fraction).