MCPcopy
hub / github.com/codeaashu/claude-code / dequeue

Method dequeue

web/lib/performance/worker-pool.ts:87–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 }
86
87 private dequeue(): void {
88 if (!this.queue.length) return;
89 const task = this.queue.shift()!;
90 const slot = this.getFreeSlot();
91 if (slot) this.dispatch(slot, task);
92 }
93
94 terminate(): void {
95 for (const slot of this.slots) {

Callers 2

handleMessageMethod · 0.95
handleErrorMethod · 0.95

Calls 3

getFreeSlotMethod · 0.95
dispatchMethod · 0.95
shiftMethod · 0.80

Tested by

no test coverage detected