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 a Command and returns (Id, Command) tuple, where Id is fixed
Receives a Command and returns (Id, Command) tuple, where Id is fixed
Strategy to use whenever Aggregate is a singleton with a fixed, well-known, Id.
When using this strategy, Aggregates are expected to be initialized with only a Command. No Ids are expected to be passed along with Creational Command.
Implementors are required to define
id
val.the AggregateType