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

Method terminate

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

Source from the content-addressed store, hash-verified

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

Callers 3

onWorkerGoneMethod · 0.65
destroyMethod · 0.65
stopFunction · 0.65

Implementers 1

FakeWorker__tests__/query-pool.test.ts

Calls

no outgoing calls

Tested by

no test coverage detected