7be3fd486c | ||
---|---|---|
.. | ||
kotlinx-coroutines-android | ||
kotlinx-coroutines-javafx | ||
kotlinx-coroutines-swing | ||
README.md | ||
coroutines-guide-ui.md | ||
knit.code.include | ||
knit.properties | ||
ui-example-android.png | ||
ui-example-javafx.png |
README.md
Coroutines for UI
This directory contains modules for coroutine programming with various single-threaded UI libraries.
After adding dependency to the UI library, corresponding UI dispatcher will be available via Dispatchers.Main
.
Module name below corresponds to the artifact name in Maven/Gradle.
Modules
- kotlinx-coroutines-android --
Dispatchers.Main
context for Android applications. - kotlinx-coroutines-javafx --
Dispatchers.JavaFx
context for JavaFX UI applications. - kotlinx-coroutines-swing --
Dispatchers.Swing
context for Swing UI applications.