CommandHandler
CommandHandler(
command):DualClassDecorator
Defined in: packages/cqrs/src/decorators.ts:41
Registers a class as the handler of one command class; the class implements
ICommandHandler.
Parameters
Section titled “Parameters”command
Section titled “command”Returns
Section titled “Returns”Throws
Section titled “Throws”TypeError when command is not a class.