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

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