CommandHandler
Decorator that marks a class as a Nest command handler. A command handler handles commands (actions) executed by your application code.
const CommandHandler: (command: ICommand | (new (...args: any[]) => ICommand), options?: InjectableOptions) => ClassDecorator;
See also
Description
The decorated class must implement the ICommandHandler interface.