sussudio
Version:
An unofficial VS Code Internal API
13 lines (12 loc) • 693 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { ISharedProcessToWorkerMessage } from "./sharedProcessWorker.mjs";
/**
* The `create` function needs to be there by convention because
* we are loaded via the `vs/base/worker/workerMain` utility.
*/
export declare function create(): {
onmessage: (message: ISharedProcessToWorkerMessage, transfer?: Transferable[]) => void;
};