AggregateDecider
Domain policy that decides whether a command is accepted and which events it proposes. Decisions should be deterministic and free of externally visible side effects.
Type Parameters
STATE
The type of the aggregate's state.
COMMAND
The base type of commands it handles.
EVENT
The base type of events it produces.