Use standard 'postMessage' name

This commit is contained in:
Matt Bierner
2018-04-17 16:22:44 -07:00
parent fbd3a08369
commit cdd9a731f9
3 changed files with 4 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape, WebviewReviv
this._webviewService.revealWebview(webview, column);
}
async $sendMessage(handle: WebviewPanelHandle, message: any): TPromise<boolean> {
async $postMessage(handle: WebviewPanelHandle, message: any): TPromise<boolean> {
const webview = this.getWebview(handle);
const editors = this._editorService.getVisibleEditors()
.filter(e => e instanceof WebviewEditor)