Defined in: queuer.ts:4
• TValue
executionCount: number;
executionCount: number;
Defined in: queuer.ts:8
Number of items that have been processed by the queuer
expirationCount: number;
expirationCount: number;
Defined in: queuer.ts:12
Number of items that have been removed from the queue due to expiration
isEmpty: boolean;
isEmpty: boolean;
Defined in: queuer.ts:16
Whether the queuer has no items to process (items array is empty)
isFull: boolean;
isFull: boolean;
Defined in: queuer.ts:20
Whether the queuer has reached its maximum capacity
isIdle: boolean;
isIdle: boolean;
Defined in: queuer.ts:24
Whether the queuer is not currently processing any items
isRunning: boolean;
isRunning: boolean;
Defined in: queuer.ts:28
Whether the queuer is active and will process items automatically
items: TValue[];
items: TValue[];
Defined in: queuer.ts:36
Array of items currently waiting to be processed
itemTimestamps: number[];
itemTimestamps: number[];
Defined in: queuer.ts:32
Timestamps when items were added to the queue for expiration tracking
pendingTick: boolean;
pendingTick: boolean;
Defined in: queuer.ts:40
Whether the queuer has a pending timeout for processing the next item
rejectionCount: number;
rejectionCount: number;
Defined in: queuer.ts:44
Number of items that have been rejected from being added to the queue
size: number;
size: number;
Defined in: queuer.ts:48
Number of items currently in the queue
status: "idle" | "running" | "stopped";
status: "idle" | "running" | "stopped";
Defined in: queuer.ts:52
Current processing status - 'idle' when not processing, 'running' when active, 'stopped' when paused
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.