Be VERY Careful with GlobalScope
The best Android courses in the world: https://codingwithmitch.com/
There's a few things you should know about Kotlin Coroutines GlobalScope.
This is the default behavior of coroutines that do not use the GlobalScope.
1. If the parent is canceled, all the children are canceled.
2. A parent will always wait for completion of its children.
If a coroutine is launched with the GlobalScope, those two properties no longer hold true.
Instagram: https://www.instagram.com/codingwithmitch
Twitter: https://twitter.com/mitch_tabian
.
.
#codingwithmitch
Видео Be VERY Careful with GlobalScope канала CodingWithMitch
There's a few things you should know about Kotlin Coroutines GlobalScope.
This is the default behavior of coroutines that do not use the GlobalScope.
1. If the parent is canceled, all the children are canceled.
2. A parent will always wait for completion of its children.
If a coroutine is launched with the GlobalScope, those two properties no longer hold true.
Instagram: https://www.instagram.com/codingwithmitch
Twitter: https://twitter.com/mitch_tabian
.
.
#codingwithmitch
Видео Be VERY Careful with GlobalScope канала CodingWithMitch
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![PARALLEL Background Tasks with Kotlin Coroutines (ASYNC AND AWAIT)](https://i.ytimg.com/vi/HPpiPzwQ_cU/default.jpg)
![Is Kotlin Multiplatform Mobile Ready for Production?](https://i.ytimg.com/vi/L8Xq15NTuCc/default.jpg)
![Why Model-View-Intent (MVI) is My NEW Favorite Architecture](https://i.ytimg.com/vi/tIPxSWx5qpk/default.jpg)
![HILT Constructor Injection Problems](https://i.ytimg.com/vi/EEOOnlk9xt4/default.jpg)
![KotlinConf 2018 - Kotlin Coroutines in Practice by Roman Elizarov](https://i.ytimg.com/vi/a3agLJQ6vt8/default.jpg)
![Persisting data in ViewModels with MutableState (Jetpack Compose ViewModel Example)](https://i.ytimg.com/vi/QDcBO4iROyE/default.jpg)
![I Earned 74,000.00 In 40 Days (LEAD RESEARCH NON-VOICE HOMEBASED JOB)](https://i.ytimg.com/vi/xUi-F07agnM/default.jpg)
![iOS Development is Easier than Android Development (VLOG)](https://i.ytimg.com/vi/h7YyvAoGtGE/default.jpg)
![Kotlin Sealed Classes & Custom State Managment (VLog)](https://i.ytimg.com/vi/YQqinABOH4w/default.jpg)
![Scoping with HILT (Dagger2)](https://i.ytimg.com/vi/ZVv8mh1Kols/default.jpg)
![Coroutines will FREEZE your UI](https://i.ytimg.com/vi/ksstsMCDEmk/default.jpg)
![Kotlin Coroutine Builders: launch, async, and runBlocking along with GlobalScope companion object](https://i.ytimg.com/vi/a56bmbOvfHY/default.jpg)
![Coroutine Scopes - Kotlin Coroutines](https://i.ytimg.com/vi/kXSBkAA03Tc/default.jpg)
![2 Key Concepts of Clean Architecture (VLOG)](https://i.ytimg.com/vi/NyJLw3sc17M/default.jpg)
![The Best Android Libraries Use Code Generation (VLOG)](https://i.ytimg.com/vi/_EldLP774_M/default.jpg)
![Coroutine Structured Concurrency, Error Handling and Exceptions](https://i.ytimg.com/vi/KWocgiYwwmM/default.jpg)
![Kotlin Coroutines: Explore what are coroutines in kotlin. Threads vs. Coroutines](https://i.ytimg.com/vi/C38lG2wraoo/default.jpg)
![Jobs, Waiting, Cancelation - Kotlin Coroutines](https://i.ytimg.com/vi/55W60o9uzVc/default.jpg)
![Async and Await - Kotlin Coroutines](https://i.ytimg.com/vi/t-3TOke8tq8/default.jpg)
![Implementation of SQLite Database in Android using Kotlin](https://i.ytimg.com/vi/VOvx6LwgqOk/default.jpg)