Observable and Observer

Learn about the various methods offered by Observables and Observers.

An Observable can emit any number of items. As mentioned, to receive or listen to these emitted items, an Observer needs to subscribe to the Observable. The .subscribe() method is defined by the ObservableSource interface, which is implemented by Observable.

Get hands-on with 1400+ tech skills courses.