Introduction: Kotlin Coroutine Library
Learn the basics of the Kotlin coroutine library.
We'll cover the following
Now that we understand how built-in support works, it's time to concentrate on the kotlinx.coroutines
library. In this chapter, we'll learn everything we need to use it properly. We'll explore coroutine builders, different coroutine contexts, and how cancellation works. We'll finish with practical knowledge on setting up coroutines, testing them, and safely accessing a shared state.
Get hands-on with 1400+ tech skills courses.