2
2
3
3
[ ![ official JetBrains project] ( https://jb.gg/badges/official.svg )] ( https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub )
4
4
[ ![ GitHub license] ( https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat )] ( https://www.apache.org/licenses/LICENSE-2.0 )
5
- [ ![ Download] ( https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.3.4 ) ] ( https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.4 )
5
+ [ ![ Download] ( https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.3.5 ) ] ( https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.5 )
6
6
7
7
Library support for Kotlin coroutines with [ multiplatform] ( #multiplatform ) support.
8
8
This is a companion version for Kotlin ` 1.3.70 ` release.
@@ -45,8 +45,9 @@ suspend fun main() = coroutineScope {
45
45
* [ CoroutinesTimeout] test rule to automatically dump coroutines on test timeout.
46
46
* [ reactive] ( reactive/README.md ) &mdash ; modules that provide builders and iteration support for various reactive streams libraries:
47
47
* Reactive Streams ([ Publisher.collect] , [ Publisher.awaitSingle] , [ publish] , etc),
48
- RxJava 2.x ([ rxFlowable] , [ rxSingle] , etc), and
49
- Project Reactor ([ flux] , [ mono] , etc).
48
+ * Flow (JDK 9) (the same interface as for Reactive Streams),
49
+ * RxJava 2.x ([ rxFlowable] , [ rxSingle] , etc), and
50
+ * Project Reactor ([ flux] , [ mono] , etc).
50
51
* [ ui] ( ui/README.md ) &mdash ; modules that provide coroutine dispatchers for various single-threaded UI libraries:
51
52
* Android, JavaFX, and Swing.
52
53
* [ integration] ( integration/README.md ) &mdash ; modules that provide integration with various asynchronous callback- and future-based libraries:
@@ -82,7 +83,7 @@ Add dependencies (you can also add other modules that you need):
82
83
<dependency >
83
84
<groupId >org.jetbrains.kotlinx</groupId >
84
85
<artifactId >kotlinx-coroutines-core</artifactId >
85
- <version >1.3.4 </version >
86
+ <version >1.3.5 </version >
86
87
</dependency >
87
88
```
88
89
@@ -100,7 +101,7 @@ Add dependencies (you can also add other modules that you need):
100
101
101
102
``` groovy
102
103
dependencies {
103
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.4 '
104
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5 '
104
105
}
105
106
```
106
107
@@ -126,7 +127,7 @@ Add dependencies (you can also add other modules that you need):
126
127
127
128
``` groovy
128
129
dependencies {
129
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.4 ")
130
+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5 ")
130
131
}
131
132
```
132
133
@@ -145,7 +146,7 @@ Make sure that you have either `jcenter()` or `mavenCentral()` in the list of re
145
146
Core modules of ` kotlinx.coroutines ` are also available for
146
147
[ Kotlin/JS] ( #js ) and [ Kotlin/Native] ( #native ) .
147
148
In common code that should get compiled for different platforms, add dependency to
148
- [ ` kotlinx-coroutines-core-common ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-common/1.3.4 /jar )
149
+ [ ` kotlinx-coroutines-core-common ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-common/1.3.5 /jar )
149
150
(follow the link to get the dependency declaration snippet).
150
151
151
152
### Android
@@ -154,7 +155,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
154
155
module as dependency when using ` kotlinx.coroutines ` on Android:
155
156
156
157
``` groovy
157
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.4 '
158
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5 '
158
159
```
159
160
160
161
This gives you access to Android [ Dispatchers.Main]
@@ -170,15 +171,15 @@ For more details see ["Optimization" section for Android](ui/kotlinx-coroutines-
170
171
### JS
171
172
172
173
[ Kotlin/JS] ( https://kotlinlang.org/docs/reference/js-overview.html ) version of ` kotlinx.coroutines ` is published as
173
- [ ` kotlinx-coroutines-core-js ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.3.4 /jar )
174
+ [ ` kotlinx-coroutines-core-js ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.3.5 /jar )
174
175
(follow the link to get the dependency declaration snippet).
175
176
176
177
You can also use [ ` kotlinx-coroutines-core ` ] ( https://www.npmjs.com/package/kotlinx-coroutines-core ) package via NPM.
177
178
178
179
### Native
179
180
180
181
[ Kotlin/Native] ( https://kotlinlang.org/docs/reference/native-overview.html ) version of ` kotlinx.coroutines ` is published as
181
- [ ` kotlinx-coroutines-core-native ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.3.4 /jar )
182
+ [ ` kotlinx-coroutines-core-native ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.3.5 /jar )
182
183
(follow the link to get the dependency declaration snippet).
183
184
184
185
Only single-threaded code (JS-style) on Kotlin/Native is currently supported.
@@ -277,6 +278,7 @@ The `develop` branch is pushed to `master` during release.
277
278
[ ListenableFuture.await ] : https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-guava/kotlinx.coroutines.guava/com.google.common.util.concurrent.-listenable-future/await.html
278
279
<!-- - MODULE kotlinx-coroutines-play-services -->
279
280
<!-- - INDEX kotlinx.coroutines.tasks -->
281
+ [ Task.await ] : https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-play-services/kotlinx.coroutines.tasks/com.google.android.gms.tasks.-task/await.html
280
282
<!-- - MODULE kotlinx-coroutines-reactive -->
281
283
<!-- - INDEX kotlinx.coroutines.reactive -->
282
284
[ Publisher.collect ] : https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/org.reactivestreams.-publisher/collect.html
0 commit comments