setAggregateVersion

open fun setAggregateVersion(aggregateVersion: Int): ServerCommandExchange<C>

Sets the version of the aggregate after command processing.

Return

this exchange instance for method chaining

Parameters

aggregateVersion

the new aggregate version number

See also