Skip to content

BatchOptions

Defined in: types.ts:50

optional maxSize?: number

Defined in: types.ts:54

Maximum calls per POST /batch — longer queues split into multiple requests. Match the server’s max batch size.

25

optional windowMs?: number

Defined in: types.ts:52

Coalescing window in milliseconds. 0 (default) flushes on the next microtask tick.