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 = any

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

Parameters

options

TOptions

Returns

TOptions