Can I have multiple handlers for a command?

Using the method CommandRegistry.registerCommand, I would like to register more than one command handlers for one command. i.e.,

commands.registerCommand(MyCommands.TEST_COMMAND, {
            execute: () => this.command_Handler_1()
commands.registerCommand(MyCommands.TEST_COMMAND, {
            execute: () => this.command_Handler_2()

Is this possible ?

@rs I do not believe it is possible, I’m also not sure why one would want to have multiple handlers for a given command. Instead, the execute can be used to delegate to the proper handler.

It is also documented:

     * Register the given command and handler if present.
     * Throw if a command is already registered for the given command identifier.
    registerCommand(command: Command, handler?: CommandHandler): Disposable {