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

Method loadSettled

src/extraction/parse-pool.ts:413–418  ·  view source on GitHub ↗

The worker's grammar load is over: it reported ready, errored or exited.

(w: ParsePoolWorker)

Source from the content-addressed store, hash-verified

411
412 /** The worker's grammar load is over: it reported ready, errored or exited. */
413 private loadSettled(w: ParsePoolWorker): void {
414 const load = this.loads.get(w);
415 if (!load) return;
416 this.loads.delete(w);
417 load.settle();
418 }
419
420 /**
421 * Terminate a worker, but not while it is still loading grammars: wait for

Callers 2

spawnOneMethod · 0.95
onMessageMethod · 0.95

Calls 3

getMethod · 0.65
deleteMethod · 0.65
settleMethod · 0.45

Tested by

no test coverage detected