ConfirmOutcome

sealed interface ConfirmOutcome

How a ReservationStore.confirm ended.

Cases may be added in a minor release, so a when over it keeps an else branch. The else reads a case as not Taken, as Wow's callers do: the key is not known to be lost.

Inheritors

Types

Link copied to clipboard

The owner holds the key confirmed.

Link copied to clipboard
class Taken @InternalWowApi constructor(val by: Reservation) : ConfirmOutcome

Another owner's live reservation, by, holds the key: the fact committed without it.