The Aggregate type.
The Aggregate type. This is the only (abstract) type member to be defined.
All other type members are aliases defined by type projection of inner types from Aggregate type itself.
Alias for Aggregate's ProtocolCommand
Alias for Aggregate's ProtocolCommand
Alias for Aggregate's ProtocolEvent
Alias for Aggregate's ProtocolEvent
Alias for an immutable Seq of Aggregate's ProtocolEvent
Alias for an immutable Seq of Aggregate's ProtocolEvent
Alias for Aggregate#Id
Alias for Aggregate#Id
Alias for Aggregate#Protocol
Alias for Aggregate#Protocol
Partial function to transform incoming messages to (Id, Command) tuple
Partial function to transform incoming messages to (Id, Command) tuple
Receives (Id, Command) tuple and returns it as it.
Receives (Id, Command) tuple and returns it as it.
Strategy to use whenever id generation is managed externally. For instance, when user is responsible for choosing an unique id or when it's generated by a external systems.
When using this strategy, Aggregates are expected to be initialized with a tuple (Id, Command) where Id is the Aggregate id assigned externally and Command the creational (or seed command) to construct the first Aggregate instance.
the AggregateType