Coroutines and Asynchronous Programming (BlrKotlin)
Presented at BlrKotlin March Meetup (2019), this talks guids you through the basic concepts of Coroutines and how to use them for you asynchronous programming requirement in Android
same time • Not only for Android Developers • JavaScript - Promise • JVM, Android - Threads (Fibers) • Native (LLVM) - Pure Kotlin @rivuchakraborty https://www.rivu.dev
in Kotlin • Compiler level restriction - can’t call suspend function outside CoroutineScope • Suspends execution of current coroutine, until the function is completed
Every Coroutine Builder is an extension over CoroutineScope, and thus inherits its CoroutineContext • All Coroutines must be launched within a CoroutineScope