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

Method ensureSlots

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

Source from the content-addressed store, hash-verified

37 }
38
39 private ensureSlots(): void {
40 while (this.slots.length < this.size) {
41 this.slots.push(this.createSlot());
42 }
43 }
44
45 run(payload: unknown, transferables?: Transferable[]): Promise<T> {
46 return new Promise<T>((resolve, reject) => {

Callers 1

runMethod · 0.95

Calls 2

createSlotMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected