Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
26 марта 2020 г. 2:08:10
00:13:55
Яндекс.Метрика