| 37 | * built `dist/`. |
| 38 | */ |
| 39 | export 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; |
| 45 | } |
| 46 | |
| 47 | /** A single file to parse. `language` is resolved on the main thread (it holds |
| 48 | * the project's codegraph.json extension overrides) and handed to the worker. */ |
no outgoing calls
no test coverage detected