Search⌘ K
AI Features

Introduction: Kotlin Coroutine Library

Learn the foundational aspects of the Kotlin Coroutine Library, including how to use essential coroutine builders like launch, runBlocking, and async. Understand coroutine contexts, cancellation, and structured concurrency. This lesson equips you with practical knowledge for setting up, testing, and managing coroutines safely.

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 ...