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

Method createSlot

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

Source from the content-addressed store, hash-verified

27 }
28
29 private createSlot(): WorkerSlot {
30 const worker = this.workerFactory();
31 const slot: WorkerSlot = { worker, busy: false };
32 return slot;
33 }
34
35 private getFreeSlot(): WorkerSlot | null {
36 return this.slots.find((s) => !s.busy) ?? null;

Callers 1

ensureSlotsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected