asyncThrottlerOptions

Function: asyncThrottlerOptions()

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

Defined in: async-throttler.ts:148

Utility function for sharing common AsyncThrottlerOptions options between different AsyncThrottler instances.

Type Parameters

TFn

TFn extends AnyAsyncFunction = AnyAsyncFunction

TOptions

TOptions extends Partial\<[`AsyncThrottlerOptions`](../interfaces/AsyncThrottlerOptions.md)\<`TFn`\>> = Partial\<[`AsyncThrottlerOptions`](../interfaces/AsyncThrottlerOptions.md)\<`TFn`\>>

Parameters

options

TOptions

Returns

TOptions