Aggregate

A loaded aggregate that handles commands against its current committedState. State changes only after accepted events have been committed to the event store.

Inheritors

Properties

Link copied to clipboard
abstract val aggregateId: String
Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun handle(command: CommandEnvelope<COMMAND>): AggregateChangeResult<STATE, EVENT>