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

Method terminate

src/mcp/query-pool.ts:384–384  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382 */
383 private retire(w: PoolWorker): void {
384 const terminate = (): void => { void this.terminateStarted(w).then(() => this.retired(w)); };
385 const cap = setTimeout(terminate, this.retireTimeoutMs);
386 cap.unref?.();
387 let settle!: () => void;

Callers

nothing calls this directly

Calls 2

terminateStartedMethod · 0.95
retiredMethod · 0.95

Tested by

no test coverage detected