mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
renamed listeners to registerCommandListener and unregisterCommandListener
This commit is contained in:
@@ -79,11 +79,11 @@ export class MainThreadCommands implements MainThreadCommandsShape {
|
||||
return this._commandService.executeCommand<T>(id, ...args);
|
||||
}
|
||||
|
||||
$onDidExecuteCommand() {
|
||||
$registerCommandListener() {
|
||||
this._onDidExecuteCommandListener = this._commandService.onDidExecuteCommand((command) => this.handleExecuteCommand(command));
|
||||
}
|
||||
|
||||
$disposeListener() {
|
||||
$unregisterCommandListener() {
|
||||
return this._onDidExecuteCommandListener.dispose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user