withRetry
function withRetry<T>(fn, opts?): Promise<T>;Defined in: core/src/retry.ts:134
Run fn, retrying transient failures with backoff. For one-shot calls such
as a title, a summary or a compaction pass.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
fn |
(attempt) => Promise<T> |
opts |
RetryOptions |
Returns
Section titled “Returns”Promise<T>