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
⭐Discount Coupon: LAUNCH-STEVDZA-SAN
https://stevdza-san.com
🐱👤 Wanna become a member? Join!
https://www.youtube.com/channel/UCYLAirIEMMXtWOECuZAtjqQ/join
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
runBlocking - Kotlin CoroutinesJobs, Waiting, Cancelation - Kotlin CoroutineswithContext() - Kotlin CoroutinesViewModel Explained - Android Architecture Component | TutorialKotlinConf 2019: Coroutines! Gotta catch 'em all! by Florina Muntenescu & Manuel VivoKotlin Coroutine Jobs (Beginner Example)Async and Await - Kotlin CoroutinesCoroutine Scopes - Kotlin Coroutines3 Common Myths About Starting a Coding Career in 2020.Change System Bar Colors in your App | Android Studio TutorialCoroutine Structured Concurrency, Error Handling and ExceptionsGetting a Remote Job as an Android Developer (Kotlin)Suspend Functions - Kotlin CoroutinesSupervisor Job (Kotlin Coroutines)Kotlin Coroutine Jobs & Cancellation Hindi | Structured Concurrency - CheezyCodeMVVM Recipe Android App With Retrofit, Coroutines, LiveData, Safe Args, Dagger Hilt...The Basics - Kotlin CoroutinesKotlin Coroutines 101 - Android Conference Talks