📄 Covers coroutine fundamentals, lifecycle & structured concurrency | ⚡ Practical starters & best practices | 📄 PDF
A practical PDF , high-impact reference created by Marcin Moskala at Kt. Academy, designed to help you master asynchronous programming and write cleaner, safer Kotlin code.
Functions that start coroutines, such as launch, async, runBlocking, and coroutineScope – when and how to use them.
Structured concurrency – the rules that keep your coroutines safe and predictable.
Coroutine scopes (viewModelScope, lifecycleScope, applicationScope, etc.) and their lifecycle.
Job states and how to manage coroutine lifecycles (isActive, isCompleted, cancel(), etc.).
Dispatchers – when to use Dispatchers.Default, Dispatchers.IO, Dispatchers.Main, or custom thread limits.
Real-life use cases – including examples of high-score loading with coroutine best practices._
Created by Marcin Moskala from kt.academy