An observable is typically a programming construct that can be "watched" by other parts of the code, called the "observers".

- Stackoverflow.com Wiki
2 articles, 1 books. Go to books ↓

In this article, we’re going to learn about the concept of the Observable: what they are, why we prefer them to other methods of handling data, how RxJS works within this context, and some real world examples of where they are used.


Despite of the differences between these patterns, some might say that Publisher-Subscriber pattern is a variation of Observer pattern because of the conceptual similarity between them. And it won’t be wrong at all. Don’t need to take the differences religiously. They are similar, aren’t they?