Introduction

Hello, and welcome to scopes and dispatchers in Kotlin coroutines.

The scope of a coroutine is a basic way to control the lifetime of the coroutine. The dispatcher is a mechanism that determines which thread the coroutine runs on.

In this lesson, you’ll learn the following:

  • The concept of scope with coroutines.
  • The purpose of coroutine dispatchers.
  • The properties of different available dispatchers: Default, IO, and Main.

Ready? Let’s get started!

See forum comments
Download course materials from Github
Previous: Use Coroutines Next: Instructions