Framework
Version
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference
Batcher API Reference

asyncRetryerOptions

Function: asyncRetryerOptions()

ts
function asyncRetryerOptions<TFn, TOptions>(options): TOptions;
function asyncRetryerOptions<TFn, TOptions>(options): TOptions;

Defined in: async-retryer.ts:164

Utility function for sharing common AsyncRetryerOptions options between different AsyncRetryer instances.

Type Parameters

TFn

TFn extends AnyAsyncFunction = AnyAsyncFunction

TOptions

TOptions extends Partial<AsyncRetryerOptions<TFn>> = Partial<AsyncRetryerOptions<TFn>>

Parameters

options

TOptions

Returns

TOptions

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.