Skip to content

Glossary: Kotlin Beyond the Basics

CoroutineScope

Also written: GlobalScope, scope

An object that owns coroutines, which you start with `launch` and `async`. Canceling it stops them all, and `GlobalScope` is discouraged because nothing cancels its coroutines.

Where the book teaches it

Related terms

structured concurrencycoroutine context