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 ed723ac commit 3edb34dCopy full SHA for 3edb34d
AndroidAsync-Kotlin/README.md
@@ -5,7 +5,10 @@ Adds coroutines support to AndroidAsync and Ion.
5
Since AndroidAsync and Ion operations all returned futures, you can simply call await() on them within a Kotlin suspend function.
6
7
```kotlin
8
-val data = Ion.with(context).load("https://google.com/robots.txt").asString().await()
+val robotsTxt = Ion.with(context)
9
+.load("https://google.com/robots.txt")
10
+.asString()
11
+.await()
12
```
13
14
That's it!
0 commit comments