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

Jobs and Cancellation - Kotlin Coroutines

🏆 My Online Courses
⭐Discount Coupon: LAUNCH-STEVDZA-SAN
https://stevdza-san.com

🐱‍👤 Wanna become a member? Join!
https://www.youtube.com/channel/UCYLAirIEMMXtWOECuZAtjqQ/join

📸 Instagram
https://www.instagram.com/stevdza_san/
A background job. Conceptually, a job is a cancellable thing with a life-cycle that culminates in its completion.

Jobs can be arranged into parent-child hierarchies where cancellation of a parent leads to immediate cancellation of all its children recursively. Failure of a child with an exception other than CancellationException immediately cancels its parent and, consequently, all its other children.

Coroutine cancellation is cooperative. A coroutine code has to cooperate to be cancellable. All the suspending functions in kotlinx.coroutines are cancellable.

Other videos:
The Basics - https://youtu.be/2QInrEaXyMo
Scopes - https://youtu.be/kXSBkAA03Tc
runBlocking - https://youtu.be/eXBSBKQN128
withContext - https://youtu.be/KUQKQ8rtF0k

🕒Timestamps:
0:00 - Introduction
4:02 - Practical Examples

Видео Jobs and Cancellation - Kotlin Coroutines канала Stevdza-San
Показать
Комментарии отсутствуют
Введите заголовок:

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

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

Зарегистрируйтесь или войдите с
Информация о видео
11 декабря 2020 г. 12:01:09
00:14:29
Яндекс.Метрика