mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
wip: extHostSCM, mainThreadSCM
This commit is contained in:
25
src/vs/workbench/api/node/mainThreadSCM.ts
Normal file
25
src/vs/workbench/api/node/mainThreadSCM.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
||||
import { IThreadService } from 'vs/workbench/services/thread/common/threadService';
|
||||
import { MainThreadSCMShape } from './extHost.protocol';
|
||||
|
||||
export class MainThreadSCM extends MainThreadSCMShape {
|
||||
|
||||
private _toDispose: IDisposable;
|
||||
|
||||
constructor(
|
||||
@IThreadService threadService: IThreadService
|
||||
) {
|
||||
super();
|
||||
// const proxy = threadService.get(ExtHostContext.ExtHostSCM);
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
this._toDispose = dispose(this._toDispose);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user