AggregateRepository
Creates and reconstructs aggregates from event history, optionally using snapshots to accelerate loading.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun newAggregate(command: CommandEnvelope<COMMAND>): NewAggregateResult<STATE, COMMAND, EVENT>
Link copied to clipboard
abstract suspend fun recoverAppend(preparedAppend: PreparedAppend<EVENT>): AggregateRecoveryResult<STATE, COMMAND, EVENT>
Recovers an uncertain append using its original prepared form, without handling the command again.