Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/services/extensions/common/polyfillNestedWorker.protocol.ts
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
7
export interface NewWorkerMessage {
8
type: '_newWorker';
9
id: string;
10
port: any /* MessagePort */;
11
url: string;
12
options: any /* WorkerOptions */ | undefined;
13
}
14
15
export interface TerminateWorkerMessage {
16
type: '_terminateWorker';
17
id: string;
18
}
19
20