Observable
Represents an observable object that emits updates to registered observers when its value changes. Registration changes take effect on later emissions.
Observers are notified as soon as the value changes, while other observables depending on the same change may not have been updated yet. A callback must therefore not rely on state it does not observe: a result depending on several observables must observe all of them, so that it is recomputed once each is updated.
Type Parameters
The type of the value being observed.
Inheritors
Properties
Functions
Retrieves the current value of the observable if present, or null if no value is available.
Combines the current observable with another observable, producing a new observable that emits values derived by applying the provided merge function to the current values of both observables.
Registers callback to be invoked with every new value of this observable, and right away with the current one if notifyOnRegistration.
Maps the current value of this Observable to an inner observable through transform, and mirrors the inner observable of the most recent value only: whenever this observable emits, the previous inner observable is unsubscribed and the new one is followed.