This was a rather a long chapter. You learned about combining producers, and learned, in depth, about the flatMap
, concatMap
, and switchMap
operators. You got introduced to the take
and skip
operators and their variants. You learned about the error handling approaches in reactive programming. We also tried our skills with an HTTP client example, where we requested an API to fetch JSON data and print it to the console. We didn't try to parse the JSON data, as it could increase complexity at this level. Later in this book, we will definitely parse data and display that properly.
While this and Chapter 5, Asynchronous Data Operators and Transformations were more about operators, the next chapter, Chapter 7, Concurrency and Parallel Processing in RxKotlin with Schedulers, is mainly about schedulers, handling concurrency, and multi-threading, and we will get a deeper dive in asynchronous programming with RxKotlin. As we are gradually moving to more advanced topics and chapters through...