Asynchronous Programming with Coroutines

Concurrency without thread chaos: suspend functions, coroutine builders, structured concurrency, cancellation, exception handling and Flows — the toolkit that makes Kotlin's asynchronous code as readable as sequential code.

0 / 11 completed

Module 1 · Why Coroutines
011. Why Asynchronous Programming?LESSON
—2. suspend Functions: the Basic Building BlockLOCKED
—3. Starting Coroutines: runBlocking, launch and JobLOCKED
Module 2 · Controlling Coroutines
—4. CoroutineScope and Structured ConcurrencyLOCKED
—5. CoroutineContext and DispatchersLOCKED
—6. async/await: Getting Values from CoroutinesLOCKED
Module 3 · Cancellation and Errors
—7. Cancelling Coroutines: CancellationLOCKED
—8. Exception Handling in CoroutinesLOCKED
Module 4 · Flows
—9. Flow: Asynchronous Data StreamsLOCKED
—10. Flow Operators and Exception HandlingLOCKED
—11. Mini Project: Asynchronous Order ProcessingLOCKED
11 lessonsModule 1 · Why CoroutinesModule 2 · Controlling CoroutinesModule 3 · Cancellation and ErrorsModule 4 · FlowsProgress: local, no account required