• Home
Name Date Size #Lines LOC

..--

kotlinx-coroutines-guava/03-May-2024-1,222816

kotlinx-coroutines-jdk8/03-May-2024-1,3611,046

kotlinx-coroutines-play-services/03-May-2024-365281

kotlinx-coroutines-slf4j/03-May-2024-281189

README.mdD03-May-20241.8 KiB2922

README.md

1# Coroutines integration
2
3This directory contains modules that provide integration with various asynchronous callback- and future-based libraries.
4Module name below corresponds to the artifact name in Maven/Gradle.
5
6## Modules
7
8* [kotlinx-coroutines-jdk8](kotlinx-coroutines-jdk8/README.md) -- integration with JDK8 `CompletableFuture` (Android API level 24).
9* [kotlinx-coroutines-guava](kotlinx-coroutines-guava/README.md) -- integration with Guava [ListenableFuture](https://github.com/google/guava/wiki/ListenableFutureExplained).
10* [kotlinx-coroutines-slf4j](kotlinx-coroutines-slf4j/README.md) -- integration with SLF4J [MDC](https://logback.qos.ch/manual/mdc.html).
11* [kotlinx-coroutines-play-services](kotlinx-coroutines-play-services) -- integration with Google Play Services [Tasks API](https://developers.google.com/android/guides/tasks).
12
13## Contributing
14
15Follow the following simple guidelines when contributing integration with your favorite library:
16
17* Keep it simple and general. Ideally it should fit into a single file. If it does not fit, then consider
18  a separate GitHub project to host this integration.
19* Follow the example of other modules.
20  Cut-and-paste [kotlinx-coroutines-guava](kotlinx-coroutines-guava) module as a template.
21* Write tests and documentation, include top-level `README.md` with short overview and example.
22* Reference the new module from all the places:
23  * List of modules in this document.
24  * List of modules in top-level [`settings.gradle`](../settings.gradle).
25  * List of modules at the root of documentation site in [`site/docs/index.md`](../site/docs/index.md).
26  * List of integrations in the root [README.md](../README.md).
27* Update links to documentation website as explained [here](../knit/README.md#usage).
28* Squash your contribution to a single commit and create pull request to `develop` branch.
29