Default Synchronicity of RxJava
Learn about how RxJava is inherently synchronous.
We'll cover the following
Synchronous Observable
streams
It’s a common misconception that RxJava is inherently asynchronous. Perhaps the reason for this confusion is that Observable
objects are push instead of pull by nature. But, in fact, Observable
streams are synchronous by default unless otherwise specified.
Given that Observable
streams are synchronous by default, can you guess the order of the Log
statements in the following example?
Get hands-on with 1200+ tech skills courses.