The Observable object

When an Observable object is created, we register an Observer object with the Observable. Then, as the Observable receives items, it calls all its subscribed Observer’s methods. There are three handler methods that the Observable can call:

Get hands-on with 1200+ tech skills courses.