Applied
data class Applied<STATE : AggregateState, EVENT>(val committedState: CommittedState<STATE>, val events: List<CommittedEvent<EVENT>>) : AggregateChangeResult.Success<STATE, EVENT> (source)
Functions
Link copied to clipboard
fun <STATE : AggregateState> AggregateChangeResult<STATE, *>.committedStateOrNull(): CommittedState<STATE>?
Returns committed state for either success branch, or null for every failure branch.