MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / removeWorker

Method removeWorker

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

Source from the content-addressed store, hash-verified

257 }
258
259 private removeWorker(w: ParsePoolWorker): void {
260 this.workers.delete(w);
261 this.pending.delete(w);
262 this.parseCounts.delete(w);
263 this.idle = this.idle.filter((x) => x !== w);
264 }
265
266 private dispatch(w: ParsePoolWorker, job: ParseJob): void {
267 this.inflight.set(w, job);

Callers 3

onWorkerGoneMethod · 0.95
recycleMethod · 0.95
onTimeoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected