interface ICommandHandler<TCommand extends ICommand = any, TResult = any> {
execute(command: TCommand): Promise<TResult>
}
Methods
execute()
|
execute(command: TCommand): Promise<TResult>
Parameters
Option |
Type |
Description |
command
|
TCommand |
|
Returns
Promise<TResult>
|