Observables, Observers, and Subjects

Observables and subscribers are at the base of reactive programming. We can say that they are the building blocks of reactive programming. In the previous two chapters, you already got a glimpse of Observables and subject. We observed on data with observable/subject instances; but that's not all we want; instead, we want to get all the actions and data changes reactively into the observable instances, making the application completely reactive. Also, while reading the previous chapters, you may have wondered how exactly does it operate? In this chapter, let's have a foundation of the pillars of reactive programming—Observables, Observers, and subjects:

  • We will look into details of transforming various ...

Get Reactive Programming in Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.