Apps constantly wait on things like network calls, disk access, and timers, and they must stay responsive while they do. Coroutines are Kotlin's answer: lightweight, structured concurrency that lets you write asynchronous code in a plain, sequential style, without callback pyramids.
This module covers the core ideas: suspend functions that can pause without blocking a thread, coroutine scopes and builders such as launch and async, and dispatchers (Main, IO, and Default) that control which threads your code runs on.
Watch the lessons in order, then continue on to Flow & Concurrency.
Walks through a first Kotlin coroutines example, ideal for getting started with the basics.
A step-by-step tutorial on Kotlin coroutines for asynchronous programming, for beginners and experienced developers alike.
Explains how to control threading in your coroutines using dispatchers.
Covers the basic coroutine concepts and more in a complete guide to Kotlin coroutines.