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

debouncerOptions

Function: debouncerOptions()

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

Defined in: debouncer.ts:91

Utility function for sharing common DebouncerOptions options between different Debouncer instances.

Type Parameters

TFn

TFn extends AnyFunction = AnyFunction

TOptions

TOptions extends Partial<DebouncerOptions<TFn>> = Partial<DebouncerOptions<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.