Observable
| Function |
|---|
Subscribe(observer: function(data: any)): ObserverSubscribe(observer: Observer): Observer |
Subscribes an observer to this observable.
Can accept either a function or an Observer object. |
Unsubscribe(observer: Observer) |
Unsubscribes an observer from this observable. |
NotifyObservers()NotifyObservers(data: any) |
Notifies all observers with the given data. |