... and promises. kotlinx.coroutines is a rich library for coroutines developed by JetBrains. It contains a number of high-level coroutine-enabled primitives that this guide covers, including launch, async and others. Coroutines can be thought of as light-weight threads, but there is a number of important differences that make their real-life usage very different from threads.