renamed listeners to registerCommandListener and unregisterCommandListener

This commit is contained in:
Harry Hedger
2019-04-30 05:57:47 -07:00
parent 62f2b712f0
commit ab7694754b
3 changed files with 6 additions and 6 deletions

View File

@@ -113,8 +113,8 @@ export interface MainThreadClipboardShape extends IDisposable {
export interface MainThreadCommandsShape extends IDisposable {
$registerCommand(id: string): void;
$onDidExecuteCommand(): void;
$disposeListener(): void;
$registerCommandListener(): void;
$unregisterCommandListener(): void;
$unregisterCommand(id: string): void;
$executeCommand<T>(id: string, args: any[]): Promise<T | undefined>;
$getCommands(): Promise<string[]>;