RetryStrategy
Defined in: src/retry.ts:97
Type Parameters
Section titled “Type Parameters”T
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RetryStrategy<
T>(options,source):RetryStrategy<T>
Defined in: src/retry.ts:108
Parameters
Section titled “Parameters”options
Section titled “options”RetryOptions<T>
source
Section titled “source”Returns
Section titled “Returns”RetryStrategy<T>
Methods
Section titled “Methods”execute()
Section titled “execute()”execute(
next,context):Promise<{error:unknown;ok:false; } | {ok:true;result:T; }>
Defined in: src/retry.ts:126
Parameters
Section titled “Parameters”Next<T>
context
Section titled “context”Returns
Section titled “Returns”Promise<{ error: unknown; ok: false; } | { ok: true; result: T; }>