kotlinx.coroutines reference documentation

Library support for Kotlin coroutines. This reference is a companion to Guide to kotlinx.coroutines by example.


Name Description
kotlinx-coroutines-core Core primitives to work with coroutines
kotlinx-coroutines-debug Debugging utilities for coroutines
kotlinx-coroutines-test Test primitives for coroutines, Main dispatcher injection
kotlinx-coroutines-reactive Utilities for Reactive Streams
kotlinx-coroutines-reactor Utilities for Reactor
kotlinx-coroutines-rx2 Utilities for RxJava 2.x
kotlinx-coroutines-rx3 Utilities for RxJava 3.x
kotlinx-coroutines-android Main dispatcher for Android applications
kotlinx-coroutines-javafx JavaFx dispatcher for JavaFX UI applications
kotlinx-coroutines-swing Swing dispatcher for Swing UI applications
kotlinx-coroutines-jdk8 Integration with JDK8 CompletableFuture (Android API level 24)
kotlinx-coroutines-guava Integration with Guava ListenableFuture
kotlinx-coroutines-slf4j Integration with SLF4J MDC
kotlinx-coroutines-play-services Integration with Google Play Services Tasks API