实验性
A class that represents data that can be Observed. Extensively used for UI.
Gets the data from the Observable.
Sets the data on this Observable and notifies the subscribers.
Subscribes a callback to any changes that occur to the Observable. The return value can be passed into the unsubscribe function to stop listening to changes.
unsubscribe
Unsubscribe a callback from any changes that occur to the Observable. This takes the return value from the subscribe function.
subscribe
静态
可选
Creates an Observable, use this instead of a constructor.
A class that represents data that can be Observed. Extensively used for UI.