Learn AI, Data Science & Business — Earn Certificates That Get You Hired
The Most Addictive Python and SQL Courses
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
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