O'Reilly logo

Reactive Programming With Java 9 by Tejaswini Mandar Jog

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Observable

In Chapter 3, Reactive Streams, we discussed Publisher, which being the source of the data emits the data. RxJava is about the Observable Streams, hence it uses the name Observable instead of Publisher. The Observable is subscribed by the observer, which does consumption. The observer is usually called Subscriber. The observer or the subscriber reacts to the items or notification emitted by the Observable facilitating the operations without blocking. Keep in mind its Observable Streams, which means items can be data, an error, or stage of completion. Observable allows the execution of many instructions in parallel. Once all the instructions get processed their result is captured. You defined a mechanism for the transmission and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required