Concurrency and Parallel Processing in RxKotlin with Schedulers

So, up until now, you have learned the basics of reactive programming. You learned about Observable, Observers, and Subjects, as well as backpressure, Flowable, processors, and operators. Now, it's time for us to learn some other new topics in reactive programming, probably the most important ones—concurrency and parallel processing.

A popular misconception regarding reactive programming is that reactive programming is multi-threaded by default. The truth is actually that RxKotlin works on a single thread by default, although it provides us with loads of operators to implement multi-threading as per our business logic and requirements with ease.

In this chapter, we will cover ...

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.