commit | 4e60132ea84083f6ed9020412b89cd62743da390 | [log] [tgz] |
---|---|---|
author | Roman Elizarov <elizarov@gmail.com> | Fri Mar 17 12:46:36 2017 +0300 |
committer | Roman Elizarov <elizarov@gmail.com> | Fri Mar 17 12:46:36 2017 +0300 |
tree | 598d780a39c4367fcd1f8be0f04a7dbb675a0066 | |
parent | 80162ab111bd87e9b18c08d7bc2cda34b752a465 [diff] |
Improve documentation on suspended Channel.send behaviour when the channel is closed
Library support for Kotlin coroutines. This is a companion version for Kotlin 1.1.0 release.
Basic modules:
Modules that provide builders and iteration support for various reactive streams libraries:
Modules that provide coroutine dispatchers for various single-threaded UI libraries:
UI
context for Android applications.JavaFx
context for JavaFX UI applications.Swing
context for Swing UI applications.Note that these libraries are experimental and are subject to change.
The libraries are available via JCenter. These libraries require kotlin compiler version to be at least 1.1.0
and require kotlin runtime of the same version as a dependency.
Add Bintray JCenter repository to <repositories>
section:
<repository> <id>central</id> <url>http://jcenter.bintray.com</url> </repository>
Add dependencies (you can also add other modules that you need):
<dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-core</artifactId> <version>0.13</version> </dependency>
And make sure that you use the right Kotlin version:
<properties> <kotlin.version>1.1.0</kotlin.version> </properties>
Add Bintray JCenter repository:
repositories { jcenter() }
Add dependencies (you can also add other modules that you need):
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.13'
And make sure that you use the right Kotlin version:
buildscript { ext.kotlin_version = '1.1.0' }