Summary

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 5Asynchronous Data Operators and Transformations were more about operators, the next chapter, Chapter 7, Concurrency and Parallel Processing ...

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.