Skip to content

Commit 0ccf2fd

Browse files
authored
Update README.md
1 parent 4424737 commit 0ccf2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private fun startLongAsyncOperation(v: Int) =
2424
fun main(args: Array<String>) {
2525
val future = async {
2626
(1..5).map {
27-
await(startLongAsyncOperation(it))
27+
startLongAsyncOperation(it).await()
2828
}.joinToString("\n")
2929
}
3030

0 commit comments

Comments
 (0)