MCPcopy
hub / github.com/colbymchenry/codegraph / terminate

Method terminate

src/extraction/parse-pool.ts:41–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 4

onWorkerGoneMethod · 0.65
recycleMethod · 0.65
onTimeoutMethod · 0.65
destroyMethod · 0.65

Implementers 2

FakeWorker__tests__/parse-pool.test.ts
FakeWorker__tests__/query-pool.test.ts

Calls

no outgoing calls

Tested by

no test coverage detected