We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d56e2 commit e1250f6Copy full SHA for e1250f6
AndroidAsync-Kotlin/README.md
@@ -1,23 +1,23 @@
1
# Support for Kotlin Coroutines in AndroidAsync and Ion
2
3
+Adds coroutines support to AndroidAsync and Ion.
4
+
5
Maven:
6
```xml
7
<dependency>
8
<groupId>com.koushikdutta.async</groupId>
- <artifactId>androidasync</artifactId>
9
+ <artifactId>androidasync-kotlin</artifactId>
10
<version>(insert latest version)</version>
11
</dependency>
12
```
13
14
Gradle:
15
```groovy
16
dependencies {
- compile 'com.koushikdutta.async:androidasync:2.+'
17
+ compile 'com.koushikdutta.async:androidasync-kotlin:<insert latest version>'
18
}
19
20
-Adds coroutines support to AndroidAsync and Ion.
-
21
Since AndroidAsync and Ion operations all returned futures, you can simply call await() on them within a Kotlin suspend function.
22
23
```kotlin
0 commit comments