本文整理汇总了TypeScript中vs/base/parts/ipc/common/ipc.IChannel.call方法的典型用法代码示例。如果您正苦于以下问题:TypeScript IChannel.call方法的具体用法?TypeScript IChannel.call怎么用?TypeScript IChannel.call使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类vs/base/parts/ipc/common/ipc.IChannel
的用法示例。
在下文中一共展示了IChannel.call方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: doubleClick
doubleClick(windowId: number, selector: string): Promise<void> {
return this.channel.call('doubleClick', [windowId, selector]);
}
示例2: stop
stop(): Promise<void> {
return this.channel.call('stop');
}
示例3: handleURL
handleURL(uri: URI): Promise<boolean> {
return this.channel.call('handleURL', uri.toJSON());
}
示例4: exitApplication
exitApplication(): Promise<void> {
return this.channel.call('exitApplication');
}
示例5: setVerboseLogging
setVerboseLogging(enable: boolean): Promise<void> {
return this.channel.call('setVerboseLogging', enable);
}
示例6: writeInTerminal
writeInTerminal(selector: string, text: string): Promise<void> {
return this.channel.call('writeInTerminal', [selector, text]);
}
示例7: capturePage
capturePage(windowId: number): Promise<string> {
return this.channel.call('capturePage', windowId);
}
示例8: getTerminalBuffer
getTerminalBuffer(windowId: number, selector: string): Promise<string[]> {
return this.channel.call('getTerminalBuffer', [windowId, selector]);
}
示例9: getElements
getElements(windowId: number, selector: string, recursive: boolean): Promise<IElement[]> {
return this.channel.call('getElements', [windowId, selector, recursive]);
}