method ICommandHandler.handle ICommandHandler.handle(command: TCommand): TResult | Promise<TResult> Executes the command. Parameters command: TCommand The command to handle Return Type TResult | Promise<TResult> A result (sync or async)