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

Method terminate

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

Source from the content-addressed store, hash-verified

43export interface PoolWorker {
44 postMessage(msg: unknown): void;
45 terminate(): Promise<number> | void;
46 on(event: 'message', cb: (m: unknown) => void): void;
47 on(event: 'error', cb: (e: Error) => void): void;
48 on(event: 'exit', cb: (code: number) => void): void;

Callers 8

terminateOnceStartedFunction · 0.65
onWorkerGoneMethod · 0.65
terminateStartedMethod · 0.65
stopFunction · 0.65
retireFunction · 0.65
checkpointWalMethod · 0.65
runPragmasOffThreadMethod · 0.65
mainFunction · 0.65

Implementers 4

HeldWorker__tests__/prompt-hook-daemon-busy.test
FakeWorker__tests__/worker-teardown.test.ts
SlowLoadWorker__tests__/parse-pool.test.ts
FakeWorker__tests__/query-pool.test.ts

Calls

no outgoing calls

Tested by

no test coverage detected