confirm
abstract suspend fun confirm(scope: ReservationScope, key: String, owner: AggregateRef, version: Int): ConfirmOutcome
Confirms owner's reservation of key for its fact committed at version, making it permanent and clearing its holds. A pending reservation of owner is confirmed even if it expired; a key held by no one, or only by another owner's expired pending reservation, is taken confirmed: the fact committed, so it gets its key back. The reservation keeps the greater of its version and version, so confirming again, or a replay of an older fact, changes nothing. version is the fact's stream version, UNVERSIONED when there is none (a key imported from 9.x).
Return
ConfirmOutcome.Confirmed, or ConfirmOutcome.Taken when another owner's live reservation holds the key.