Coroutines: Built-in Support vs. Library
Learn about coroutines' built-in support vs. its library.
We'll cover the following...
Components of coroutines
When talking about coroutines, it’s common to refer to them as a single concept. They consist of two components: built-in support provided by the Kotlin language (compiler support and elements in the Kotlin standard library), and the Kotlin coroutines library (named kotlinx.coroutines
). Sometimes they are treated as the same entity, but they are very different.
Press + to interact
Built–in support
Built-in language support is minimalistic. We ...