Be VERY Careful with GlobalScope

Описание к видео 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:   / codingwithmitch  
Twitter:   / mitch_tabian  
.
.
#codingwithmitch

Комментарии

Информация по комментариям в разработке