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

КОМЕНТАРІ • 22

  • @sonamyadav0333
    @sonamyadav0333 3 роки тому +4

    Great job at explaining the concept.

  • @mikemikee7797
    @mikemikee7797 3 роки тому +7

    Love it, please cover as much as possible about coroutines!

  • @vaibhavarora8793
    @vaibhavarora8793 2 місяці тому

    Thank You , It was very useful. Loved it

  • @starkhunt2684
    @starkhunt2684 Рік тому +2

    great video, learned a lot from your Kotlin Coroutines series!! Thanx man

    • @StevdzaSan
      @StevdzaSan  Рік тому +1

      I'm glad to hear that, buddy 👍 🙏

  • @Nazaro4ka
    @Nazaro4ka Рік тому

    brilliant material, thank you a lot

  • @alij3fer
    @alij3fer 3 роки тому +6

    🔥 GOOD JOB ❤️

  • @sex-pixels
    @sex-pixels Рік тому

    thx mr. I try to struggle with documentation, but this video much clearer

  • @1997SlyCooper
    @1997SlyCooper 2 роки тому

    man this is the best tutorial series for coroutines

    • @StevdzaSan
      @StevdzaSan  2 роки тому

      Glad to hear that my friend

  • @h.r.60
    @h.r.60 3 роки тому +1

    More videos please! 😁

  • @anudeepananth
    @anudeepananth 3 роки тому +3

    Sweet... awesome... Bless JetBrains and Google for Kotlin... This would have a pain to do in Java...

  • @urazbaevr
    @urazbaevr 3 роки тому +1

    Cool. I like it

  • @ruchitjogani3410
    @ruchitjogani3410 3 роки тому +2

    can you create video or series on dagger 2 for android ?

  • @nathann4291
    @nathann4291 3 роки тому

    do you have courses on dependency injection?

  • @SMSameer
    @SMSameer 3 роки тому +1

    Yeah more videos please... Can you show how to upload a file to server in kotlin... Thanks

  • @ttyy9918
    @ttyy9918 11 місяців тому

    I used infinite loop and cancel but instead of using normal coroutine scope . I use runblocking and then it's never canceled

  • @nobody-ij3bj
    @nobody-ij3bj 2 роки тому

    Good bro

  • @Mkumarei
    @Mkumarei 3 роки тому +1

    yeah finally !!! ........

  • @jorgeleonardogamarraospino9896
    @jorgeleonardogamarraospino9896 3 роки тому

    Execelent

  • @parveensharma2270
    @parveensharma2270 2 роки тому +1

    Logo 👍

  • @muhammadraflinaufal2787
    @muhammadraflinaufal2787 3 роки тому

    thanks for the explanation! but i need a subtitle/translation here:(