Docs
Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference
Batcher API Reference

asyncDebouncerOptions

Function: asyncDebouncerOptions()

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

Defined in: async-debouncer.ts:140

Utility function for sharing common AsyncDebouncerOptions options between different AsyncDebouncer instances.

Type Parameters

TFn

TFn extends AnyAsyncFunction = AnyAsyncFunction

TOptions

TOptions extends Partial<AsyncDebouncerOptions<TFn>> = Partial<AsyncDebouncerOptions<TFn>>

Parameters

options

TOptions

Returns

TOptions