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

asyncBatcherOptions

Function: asyncBatcherOptions()

ts
function asyncBatcherOptions<TValue, TOptions>(options): TOptions;
function asyncBatcherOptions<TValue, TOptions>(options): TOptions;

Defined in: async-batcher.ts:168

Utility function for sharing common AsyncBatcherOptions options between different AsyncBatcher instances.

Type Parameters

TValue

TValue = any

TOptions

TOptions extends Partial<AsyncBatcherOptions<TValue>> = Partial<AsyncBatcherOptions<TValue>>

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.