Kotlin 2 · Coroutines

Add coroutines

Coroutine support is a separate library. Add it to your Gradle dependencies.

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2")

Official Kotlin 2 documentation

More coroutines commands

All coroutines commands · Kotlin 2 cheatsheet

Was this page helpful?