Coroutines: Built-in Support vs. Library

Learn about coroutines' built-in support vs. its library.

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.

Get hands-on with 1400+ tech skills courses.