June 2017
Beginner to intermediate
274 pages
6h 49m
English
Like Observer, Observable is an abstract base class, although in this case, we provide meaningful default implementations of all of its functionality.
The subscribe method, shown in the following code example, is how an Observer class connects to the Observable class, registering itself as a consumer of the events that the Observable class emits:

Read now
Unlock full access