Defined in: async-batcher.ts:8
• TValue
errorCount: number;
errorCount: number;
Defined in: async-batcher.ts:12
Number of batch executions that have resulted in errors
executeCount: number;
executeCount: number;
Defined in: async-batcher.ts:16
Number of batch executions that have been executed
failedItems: TValue[];
failedItems: TValue[];
Defined in: async-batcher.ts:20
Array of items that failed during batch processing
isEmpty: boolean;
isEmpty: boolean;
Defined in: async-batcher.ts:24
Whether the batcher has no items to process (items array is empty)
isExecuting: boolean;
isExecuting: boolean;
Defined in: async-batcher.ts:28
Whether a batch is currently being processed asynchronously
isPending: boolean;
isPending: boolean;
Defined in: async-batcher.ts:32
Whether the batcher is waiting for the timeout to trigger batch processing
items: TValue[];
items: TValue[];
Defined in: async-batcher.ts:36
Array of items currently queued for batch processing
lastResult: any;
lastResult: any;
Defined in: async-batcher.ts:40
The result from the most recent batch execution
settleCount: number;
settleCount: number;
Defined in: async-batcher.ts:44
Number of batch executions that have completed (either successfully or with errors)
size: number;
size: number;
Defined in: async-batcher.ts:48
Number of items currently in the batch queue
status: "idle" | "pending" | "executing" | "populated";
status: "idle" | "pending" | "executing" | "populated";
Defined in: async-batcher.ts:52
Current processing status - 'idle' when not processing, 'pending' when waiting for timeout, 'executing' when processing, 'populated' when items are present, but no wait is configured
successCount: number;
successCount: number;
Defined in: async-batcher.ts:56
Number of batch executions that have completed successfully
totalItemsFailed: number;
totalItemsFailed: number;
Defined in: async-batcher.ts:60
Total number of items that have failed processing across all batches
totalItemsProcessed: number;
totalItemsProcessed: number;
Defined in: async-batcher.ts:64
Total number of items that have been processed across all batches