Kotlin coroutines revolutionized how we do JVM development, especially on Android and backend. They let us easily make efficient and reliable multithreading. Its cutting-edge design and feature are suited perfectly for modern use cases. In this book, we will explore Kotlin coroutines - both built-in support and kotlinx.coroutines library - how they work and how we can use them to make our programs better.
This is a practical book. It shows everything by examples and concentrates on real-life use cases. As this technology is already widely used on Android and backend applications, we will see how it can be used there and what the best practices are.
This book explains in-depth how coroutines work in Kotlin, explains the most important features of the kotlinx.coroutines library, and explains how they can be used in the common use cases.
This book is for Kotlin developers, who want to understand these new capabilities, and then learn how to use them to create reliable, testable, and efficient code.
This book assumes that you have enough knowledge and skills to do Kotlin development. If you don’t, I recommend starting from some resources designed for beginners.
The book is divided into four parts:
Marcin Moskala is an experienced developer and Kotlin trainer. He is the founder of the Kt. Academy, an official JetBrains partner for Kotlin trainings, author of the books Effective Kotlin and Android Development with Kotlin. He is also the main author of the biggest medium publication about Kotlin and a speaker invited to many programming conferences.