Interface AggregateCommandHandler<State, Command, Event>
interface AggregateCommandHandler { handle(store,
command,
options?): MaybePromise<undefined | Event>; } Methods
handle
- handle(store, command, options?): MaybePromise<undefined | Event>
Parameters
store: State
command: Command
Returns MaybePromise<undefined | Event>
Aggregate command haler.