You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
1.0 KiB

/******************************************************************************
* Copyright 2023 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
/// <reference types="node" resolution-mode="require"/>
import type { LangiumCoreServices } from '../services.js';
import { ParserWorker } from '../parser/async-parser.js';
import { AbstractThreadedAsyncParser } from '../parser/async-parser.js';
import { Worker } from 'node:worker_threads';
export declare class WorkerThreadAsyncParser extends AbstractThreadedAsyncParser {
protected workerPath: string | (() => string);
constructor(services: LangiumCoreServices, workerPath: string | (() => string));
protected createWorker(): ParserWorker;
}
export declare class WorkerThreadParserWorker extends ParserWorker {
constructor(worker: Worker);
}
//# sourceMappingURL=worker-thread-async-parser.d.ts.map