In Kotlin, we know we're not supposed to use `GlobalScope`. But what `CoroutineScope` should we use instead? The answer depends on where you are in your code, and what you're trying to accomplish. In this video, we'll look at several options to consider instead of GlobalScope.
👉 Coroutines course: https://courses.typealias.com/coroutines
Use coupon code RUNBLOCKING to get 25% off through January 31, 2026.
✨ New to Kotlin? Sign up for my free one-week Kotlin Starter course, which begins February 9:
https://courses.typealias.com/kotlin-...
🚀 Newsletter: https://newsletter.typealias.com/
📚 Chapters
00:00 Don't use GlobalScope
00:28 runBlocking
01:58 coroutineScope
03:25 CoroutineScope()
05:38 Framework Support
06:20 Recap
06:57 Ready to Go Deeper?