Skip to main content

asyncThrottlerOptions

还没翻译译自英文(tanstack.com)本页 13 段都还没译

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<TFn>> = Partial<AsyncThrottlerOptions<TFn>>

Parameters

options

TOptions

Returns

TOptions