Defined in: batcher.ts:5
• TValue
executionCount: number;
executionCount: number;
Defined in: batcher.ts:9
Number of batch executions that have been completed
isEmpty: boolean;
isEmpty: boolean;
Defined in: batcher.ts:13
Whether the batcher has no items to process (items array is empty)
isPending: boolean;
isPending: boolean;
Defined in: batcher.ts:17
Whether the batcher is waiting for the timeout to trigger batch processing
isRunning: boolean;
isRunning: boolean;
Defined in: batcher.ts:21
Whether the batcher is active and will process items automatically
items: TValue[];
items: TValue[];
Defined in: batcher.ts:29
Array of items currently queued for batch processing
size: number;
size: number;
Defined in: batcher.ts:33
Number of items currently in the batch queue
status: "idle" | "pending";
status: "idle" | "pending";
Defined in: batcher.ts:37
Current processing status - 'idle' when not processing, 'pending' when waiting for timeout
totalItemsProcessed: number;
totalItemsProcessed: number;
Defined in: batcher.ts:25
Total number of items that have been processed across all batches
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.