Kotlin Coroutine Builders: Launch, Async, and RunBlocking - Understanding GlobalScope
Offered By: Smartherd via YouTube
Course Description
Overview
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
Related Courses
Paradigms of Computer Programming – FundamentalsUniversité catholique de Louvain via edX Paradigms of Computer Programming – Abstraction and Concurrency
Université catholique de Louvain via edX Computing: Art, Magic, Science - Part II
ETH Zurich via edX Concurrency
AdaCore via Independent Java Fundamentals for Android Development
Galileo University via edX