ICommandBus.execute<TResult = unknown>(command: CqrsCommand): Promise<TResult>
Executes a command.
command: CqrsCommand
The command to execute
Promise<TResult>
The handler's result
ICommandBus.execute<TResult = unknown>(command: CqrsCommand): Promise<TResult>
Executes a command.
command: CqrsCommand
The command to execute
Promise<TResult>
The handler's result
import { type ICommandBus } from "common/src/index.ts";