Jobs and Cancellation - Kotlin Coroutines
Вставка
- Опубліковано 22 лип 2024
- 🏆 My Online Courses
⭐Discount Coupon: LAUNCH-STEVDZA-SAN
stevdza-san.com
🐱👤 Wanna become a member? Join!
/ @stevdzasan
📸 Instagram
/ 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 - • The Basics - Kotlin Co...
Scopes - • Coroutine Scopes - Kot...
runBlocking - • runBlocking - Kotlin C...
withContext - • withContext() - Kotlin...
🕒Timestamps:
0:00 - Introduction
4:02 - Practical Examples
Great job at explaining the concept.
Love it, please cover as much as possible about coroutines!
Thank You , It was very useful. Loved it
great video, learned a lot from your Kotlin Coroutines series!! Thanx man
I'm glad to hear that, buddy 👍 🙏
brilliant material, thank you a lot
🔥 GOOD JOB ❤️
thx mr. I try to struggle with documentation, but this video much clearer
man this is the best tutorial series for coroutines
Glad to hear that my friend
More videos please! 😁
Sweet... awesome... Bless JetBrains and Google for Kotlin... This would have a pain to do in Java...
Cool. I like it
can you create video or series on dagger 2 for android ?
do you have courses on dependency injection?
Yeah more videos please... Can you show how to upload a file to server in kotlin... Thanks
I used infinite loop and cancel but instead of using normal coroutine scope . I use runblocking and then it's never canceled
Good bro
yeah finally !!! ........
Execelent
Logo 👍
thanks for the explanation! but i need a subtitle/translation here:(