Kotlin 1.5 Coroutines: Getting Started
Coroutines have become a core skill that is needed when building applications with Kotlin. This course will teach you the basics of coroutines, suspending functions and how to use them.
What you'll learn
Coroutines are a way of writing non-blocking asynchronous code in Kotlin. In this course, Kotlin 1.5 Coroutines: Getting Started, you’ll learn to use coroutines effectively in your applications. First, you’ll explore coroutine builders and suspending functions Next, you’ll discover structured concurrency. Finally, you’ll learn how exceptions and cancellation work with coroutines . When you’re finished with this course, you’ll have the skills and knowledge of coroutines needed to build scalable, asynchronous applications.
Table of contents
- Introduction 2m
- Joining on Coroutines 3m
- Basic Cancellation of Coroutines 3m
- Cancellation Demo 4m
- Using Timeouts with Coroutines 1m
- Timeout Demo 3m
- Understanding CoroutineScope 7m
- CoroutineScope Demo 5m
- Using Your Own Coroutine Scope 3m
- Using Your Own Coroutine Scope Demo 4m
- Understanding Dispatchers 4m
- Dispatchers Demo 8m
- Understanding Coroutine Contexts 4m
- Using WithContext 4m
- Summary 2m
- Introduction 3m
- Using and Understanding Coroutine Jobs 10m
- Understanding Cooperative Cancellation 2m
- Cooperative Cancellation Demo 11m
- Extending Cancellation 2m
- Extending Cancellation and NonCancellable Demo 7m
- Cancelling Deferred Objects 2m
- Understand How to use Exceptions to Cancel Coroutines 1m
- How to use Exceptions to Cancel Coroutines Demo 4m
- Using SupervisorJob 5m
- Using SupervisorScope 3m
- Using the Default Exception Handler 4m
- Understanding how Exceptions Work With the Async Coroutine Builder 4m
- Summary 3m