Lifecycles, Coroutines and Scopes | Alejandro Serrano Mena

Поділитися
Вставка
  • Опубліковано 1 лип 2024
  • Recording brought to you by American Express. americanexpress.io/kotlin-jobs
    Structured concurrency is one of the key ideas in the Kotlin language, ensuring correct and intuitive cancellation and supervision of jobs. In this talk we look at how these ideas translate when coroutines are introduced in other frameworks with their own lifecycles, like Spring services or Android applications.
    Another way to think about this talk is a search for every usage of CoroutineScope in Kotlin libraries, and understand how that bridges the world of coroutines.
    Jobs are not the only lifecycle-aware pattern in Kotlin. The Arrow library provides other two examples: resource management, and distributed transactions. By the end of the talk, you'll be able to see the commonalities, and have a better understanding of all those interfaces ending in Scope.
    Due to technical difficulties, this talk was not properly recorded during the conference. Alejandro kindly agreed to re-record it at the JetBrains office.
  • Наука та технологія

КОМЕНТАРІ • 3

  • @aungkhanthtoo7678
    @aungkhanthtoo7678 8 днів тому +4

    Great talk!

  • @evgeniyemelyanov7281
    @evgeniyemelyanov7281 8 днів тому

    Great explanation, thanks!

  • @Heksapoda
    @Heksapoda 7 днів тому

    Is it mean that Activity initiate a Thread and exist until the Activity destroyed then other components could use that Thread to do asynchronous job?