本文整理汇总了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);
});