Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive video tutorial on Kotlin Coroutine Builders, focusing on launch, async, and runBlocking, along with the GlobalScope companion object. Gain a detailed understanding of these higher-order functions used to create coroutines. Explore the purpose and discouraged use of GlobalScope, compare GlobalScope.launch() with launch(), and GlobalScope.async() with async(). Learn the specific use cases for the runBlocking builder, including writing JUnit test cases for suspending functions. Follow along with code examples and practical demonstrations to master these essential Kotlin coroutine concepts.
Syllabus
Introduction
Coroutine Builders
Purpose of GlobalScope
launch coroutine builder
async coroutine builder
runBlocking coroutine builder
Summary
What's Next?
Taught by
Smartherd