Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Kotlin Coroutine Builders: Launch, Async, and RunBlocking - Understanding GlobalScope

Smartherd via YouTube

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

Reviews

Start your review of Kotlin Coroutine Builders: Launch, Async, and RunBlocking - Understanding GlobalScope

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.