本文整理匯總了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]);
}