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 4424737 commit 0ccf2fdCopy full SHA for 0ccf2fd
README.md
@@ -24,7 +24,7 @@ private fun startLongAsyncOperation(v: Int) =
24
fun main(args: Array<String>) {
25
val future = async {
26
(1..5).map {
27
- await(startLongAsyncOperation(it))
+ startLongAsyncOperation(it).await()
28
}.joinToString("\n")
29
}
30
0 commit comments