Docs
CodeRabbit
Cloudflare
Railway
SerpAPI
OpenRouter
Clerk
WorkOS
Netlify
AG Grid
Prisma
Sentry
Unkey
Electric
CodeRabbit
Cloudflare
Railway
SerpAPI
OpenRouter
Clerk
WorkOS
Netlify
AG Grid
Prisma
Sentry
Unkey
Electric
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