MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / removeWorker

Method removeWorker

src/extraction/parse-pool.ts:335–340  ·  view source on GitHub ↗
(w: ParsePoolWorker)

Source from the content-addressed store, hash-verified

333 }
334
335 private removeWorker(w: ParsePoolWorker): void {
336 this.workers.delete(w);
337 this.pending.delete(w);
338 this.parseCounts.delete(w);
339 this.idle = this.idle.filter((x) => x !== w);
340 }
341
342 private dispatch(w: ParsePoolWorker, job: ParseJob): void {
343 this.inflight.set(w, job);

Callers 3

onWorkerGoneMethod · 0.95
recycleMethod · 0.95
onHardTimeoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected