About

In this lesson, we are going to explore the Observer/Observable pattern. The observer pattern is used to help to avoid continuous polling of a data source. This is also known as the publisher and subscriber pattern (pub/sub). You can use the observer pattern to be notified when the data is ready instead of polling from it.

In this lesson you will learn ...

What the Observer pattern is

What an oberver is.

is. What an observable is

is How to create an Observable which will communicate with observers.

How to implement multiple observers which do different things.

How to wire them together to have the observable notify all observers when an action occurs.

Links

Source Code