CommandService.executeCommand Method

Executes the command.
 

Parameters

command

Type: Command
The command to execute.

Return Value


Type: Object
The result of the command as a promise if command.isActionAsync is true, otherwise return the result of the command.