min(capMs, baseMs * 2^(attempt-1)), then ± jitter fraction).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Type alias exported by @botmesh/core.
type RetryBackoff =
| ((attempt) => number)
| {
baseMs?: number | string;
capMs?: number | string;
jitter?: number;
};
min(capMs, baseMs * 2^(attempt-1)), then ± jitter fraction).
(attempt) => number
{
baseMs?: number | string;
capMs?: number | string;
jitter?: number;
}
| Name | Type | Description | Defined in |
|---|---|---|---|
baseMs? | number | string | First delay: a duration ('1s') or ms. | durability/types.ts:352 |
capMs? | number | string | Longest delay: a duration ('1m') or ms. | durability/types.ts:354 |
jitter? | number | Symmetric jitter fraction, 0–1. | durability/types.ts:356 |