Defined in: async-queuer.ts:6
• TValue
activeItems: TValue[];
activeItems: TValue[];
Defined in: async-queuer.ts:10
Items currently being processed by the queuer
errorCount: number;
errorCount: number;
Defined in: async-queuer.ts:14
Number of task executions that have resulted in errors
expirationCount: number;
expirationCount: number;
Defined in: async-queuer.ts:18
Number of items that have been removed from the queue due to expiration
isEmpty: boolean;
isEmpty: boolean;
Defined in: async-queuer.ts:22
Whether the queuer has no items to process (items array is empty)
isFull: boolean;
isFull: boolean;
Defined in: async-queuer.ts:26
Whether the queuer has reached its maximum capacity
isIdle: boolean;
isIdle: boolean;
Defined in: async-queuer.ts:30
Whether the queuer is not currently processing any items
isRunning: boolean;
isRunning: boolean;
Defined in: async-queuer.ts:34
Whether the queuer is active and will process items automatically
items: TValue[];
items: TValue[];
Defined in: async-queuer.ts:42
Array of items currently waiting to be processed
itemTimestamps: number[];
itemTimestamps: number[];
Defined in: async-queuer.ts:38
Timestamps when items were added to the queue for expiration tracking
lastResult: any;
lastResult: any;
Defined in: async-queuer.ts:46
The result from the most recent task execution
pendingTick: boolean;
pendingTick: boolean;
Defined in: async-queuer.ts:50
Whether the queuer has a pending timeout for processing the next item
rejectionCount: number;
rejectionCount: number;
Defined in: async-queuer.ts:54
Number of items that have been rejected from being added to the queue
settledCount: number;
settledCount: number;
Defined in: async-queuer.ts:58
Number of task executions that have completed (either successfully or with errors)
size: number;
size: number;
Defined in: async-queuer.ts:62
Number of items currently in the queue
status: "idle" | "running" | "stopped";
status: "idle" | "running" | "stopped";
Defined in: async-queuer.ts:66
Current processing status - 'idle' when not processing, 'running' when active, 'stopped' when paused
successCount: number;
successCount: number;
Defined in: async-queuer.ts:70
Number of task executions that have completed successfully
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.