Exthost Output channels: generate id on the renderer side

This commit is contained in:
Sandeep Somavarapu
2018-09-05 11:54:54 +02:00
parent 744e89f086
commit 6cb2531d45
3 changed files with 21 additions and 22 deletions

View File

@@ -301,7 +301,7 @@ export interface MainThreadMessageServiceShape extends IDisposable {
}
export interface MainThreadOutputServiceShape extends IDisposable {
$register(channelId: string, label: string, file?: UriComponents): Thenable<void>;
$register(label: string, file?: UriComponents): Thenable<string>;
$append(channelId: string, value: string): Thenable<void>;
$clear(channelId: string): Thenable<void>;
$reveal(channelId: string, preserveFocus: boolean): Thenable<void>;