TransactionObservationExtent
public enum TransactionObservationExtent
The extent of a transaction observation
See Database.add(transactionObserver:extent:)
-
Observation lasts until observer is deallocated
Declaration
Swift
case observerLifetime
-
Observation lasts until the next transaction
Declaration
Swift
case nextTransaction
-
Observation lasts until the database is closed
Declaration
Swift
case databaseLifetime