* Initialize DocsAgent and start the C++ engine immediately. * @param path Local folder directory or an array of file paths. Optional.
(path?: string | string[])
| 32 | * @param path Local folder directory or an array of file paths. Optional. |
| 33 | */ |
| 34 | constructor(path?: string | string[]) { |
| 35 | this.binaryPath = getBinaryPath(); |
| 36 | this.initialPath = path; |
| 37 | |
| 38 | // Start the C++ engine immediately upon construction |
| 39 | this.readyPromise = this.startEngine(); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Checks if a port is available to listen on. |
nothing calls this directly
no test coverage detected