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