First-class event streams are an extremely expressive tool for modelling dynamic, event-based systems with time-varying values. Rx
Observable objects are an event stream implementation designed to build scalable, concurrent, event-based applications. In this chapter, we saw how to create Rx
Observable objects and how to subscribe to their events. We studied the
Observable contract and learned how to compose complex
Observable objects from simple ones. We investigated various ways of recovering from failures and saw how to use Rx schedulers to transfer events between threads. Finally, we learned how to design loosely coupled systems with Rx subjects. These powerful tools together allow us to build a plethora of different applications, ranging from web browsers, FTP servers, music and video players to real-time games and trading platforms, and even operating systems.
Due to the increasing popularity of reactive programming, a number of frameworks similar to Rx have appeared in the recent...