SharedValueObservationExtent
public enum SharedValueObservationExtent
Controls the extent of the shared database observation
of SharedValueObservation.
-
The
SharedValueObservationstarts a single database observation, which ends when theSharedValueObservationis deallocated and all subscriptions terminated.This extent prevents the shared observation from recovering from database errors. To recover from database errors, create a new shared
SharedValueObservationinstance.Declaration
Swift
case observationLifetime -
The
SharedValueObservationends database observation when the number of subscriptions drops down to zero. The database observation restarts on the next subscription.Database errors can be recovered by resubscribing to the shared observation.
Declaration
Swift
case whileObserved
View on GitHub
Install in Dash
SharedValueObservationExtent Enumeration Reference