本文整理匯總了TypeScript中vs/workbench/services/thread/common/threadService.IThreadService類的典型用法代碼示例。如果您正苦於以下問題:TypeScript IThreadService類的具體用法?TypeScript IThreadService怎麽用?TypeScript IThreadService使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了IThreadService類的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: constructor
constructor(threadService: IThreadService) {
super();
this._proxy = threadService.get(MainContext.MainThreadTask);
this._handleCounter = 0;
this._handlers = new Map<number, HandlerData>();
this._idMaps = new Map<string, UUIDMap>();
};
示例2: constructor
constructor(
threadService: IThreadService,
private commands: ExtHostCommands
) {
super();
this._proxy = threadService.get(MainContext.MainThreadExplorers);
this._extNodeProviders = Object.create(null);
this._extNodeMaps = Object.create(null);
}
示例3: constructor
constructor(threadService: IThreadService) {
this._proxy = threadService.get(MainContext.MainThreadMessageService);
}
示例4: constructor
constructor(
threadService: IThreadService
) {
this._proxy = threadService.get(MainContext.MainThreadLanguages);
}
示例5: constructor
constructor(threadService: IThreadService) {
this._proxy = threadService.get(MainContext.MainThreadTerminalService);
}
示例6: constructor
constructor(name: string, threadService: IThreadService) {
this._name = name;
this._proxy = threadService.get(MainContext.MainThreadTelemetry);
}
示例7: constructor
constructor(threadService: IThreadService) {
super();
this._proxy = threadService.get(MainContext.MainThreadCredentials);
};
示例8: constructor
constructor(
threadService: IThreadService
) {
this._proxy = threadService.get(SqlMainContext.MainThreadObjectExplorer);
}
示例9: constructor
constructor(threadService: IThreadService) {
super();
this._proxy = threadService.get(MainContext.MainThreadQuickOpen);
}
示例10: Error
Object.keys(expected).forEach((key) => {
let id = expected[key];
let value = this._items[id.id];
if (!value) {
throw new Error(`Missing actor ${key} (isMain: ${id.isMain}, id: ${id.id})`);
}
threadService.set<any>(id, value);
});