Adding Asynchronicity
Learn how to add asynchronicity to RxJava.
We'll cover the following...
Using Thread
There are many ways we can add asynchronicity so that the function within .create()
is invoked on a separate thread from the calling thread. As mentioned earlier, RxJava is agnostic regarding how asynchronicity is accomplished. One way is to make use of a basic Thread
.
Let’s take our ...