interface ICommandHandler Since 0.1.0 Handles one command type. Type Parameters TCommand extends CqrsCommand = CqrsCommand The command type TResult = unknown The result type Methods handle(command: TCommand): TResult | Promise<TResult> Executes the command.