1---
2title: kotlinx-coroutines
3layout: api
4---
5
6# kotlinx.coroutines reference documentation
7
8Library support for Kotlin coroutines. This reference is a companion to
9[Guide to kotlinx.coroutines by example](https://github.com/Kotlin/kotlinx.coroutines/blob/master/coroutines-guide.md).
10
11## Modules
12
13| Name                                                                 | Description                                      |
14| ----------------------------------------------------------           | ------------------------------------------------ |
15| [kotlinx-coroutines-core](kotlinx-coroutines-core)                   | Core primitives to work with coroutines          |
16| [kotlinx-coroutines-debug](kotlinx-coroutines-debug)                 | Debugging utilities for coroutines               |
17| [kotlinx-coroutines-test](kotlinx-coroutines-test)                   | Test primitives for coroutines, `Main` dispatcher injection         |
18| [kotlinx-coroutines-reactive](kotlinx-coroutines-reactive)           | Utilities for [Reactive Streams](https://www.reactive-streams.org) |
19| [kotlinx-coroutines-reactor](kotlinx-coroutines-reactor)             | Utilities for [Reactor](https://projectreactor.io) |
20| [kotlinx-coroutines-rx2](kotlinx-coroutines-rx2)                     | Utilities for [RxJava 2.x](https://github.com/ReactiveX/RxJava) |
21| [kotlinx-coroutines-android](kotlinx-coroutines-android)             | `Main` dispatcher for Android applications |
22| [kotlinx-coroutines-javafx](kotlinx-coroutines-javafx)               | `JavaFx` dispatcher for JavaFX UI applications |
23| [kotlinx-coroutines-swing](kotlinx-coroutines-swing)                 | `Swing` dispatcher for Swing UI applications |
24| [kotlinx-coroutines-jdk8](kotlinx-coroutines-jdk8)                   | Integration with JDK8 `CompletableFuture` (Android API level 24) |
25| [kotlinx-coroutines-guava](kotlinx-coroutines-guava)                 | Integration with Guava [ListenableFuture](https://github.com/google/guava/wiki/ListenableFutureExplained) |
26| [kotlinx-coroutines-slf4j](kotlinx-coroutines-slf4j)                 | Integration with SLF4J [MDC](https://logback.qos.ch/manual/mdc.html) |
27| [kotlinx-coroutines-play-services](kotlinx-coroutines-play-services) | Integration with Google Play Services [Tasks API](https://developers.google.com/android/guides/tasks) |
28
29## Examples
30
31* [example-frontend-js](example-frontend-js/index.html) -- frontend application written in Kotlin/JS
32that uses coroutines to implement animations in imperative style.
33