Returns true if the observer has been explicitly stopped via the stop()
method. Otherwise returns false.
Enables TS 5.2+ using syntax to stop the observation at scope exit
instead of waiting for FinalizationRegistry (which is best-effort
on Node/Web and 10s-polled / leaky on older React Native versions).
Stops the observation. Calling this method multiple times has no effect.
Generic observer handle returned by various observation APIs. The observation remains active until the stop() method is called explicitly or the observer instance is garbage collected. Therefore, to keep the observation alive, you have to keep a reference to the corresponding observer.