SharedValueObservationExtent

Controls the extent of the shared database observation of SharedValueObservation.

  • The SharedValueObservation starts a single database observation, which ends when the SharedValueObservation is 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 SharedValueObservation instance.

  • The SharedValueObservation ends 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.