NoChange
data class NoChange<STATE : AggregateState>(val committedState: CommittedState<STATE>) : AggregateChangeResult.Success<STATE, Nothing> (source)
The command was accepted without producing or persisting events.
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.