We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36105c1 commit 3785348Copy full SHA for 3785348
kotlinx-coroutines-core/jvm/test/guide/example-compose-05.kt
@@ -20,7 +20,7 @@ fun main() = runBlocking<Unit> {
20
suspend fun concurrentSum(): Int = coroutineScope {
21
val one = async { doSomethingUsefulOne() }
22
val two = async { doSomethingUsefulTwo() }
23
- one.await() + two.await()
+ one.await() + two.await()
24
}
25
26
suspend fun doSomethingUsefulOne(): Int {
kotlinx-coroutines-core/jvm/test/guide/example-compose-06.kt
@@ -28,5 +28,5 @@ suspend fun failedConcurrentSum(): Int = coroutineScope {
28
println("Second child throws an exception")
29
throw ArithmeticException()
30
31
32
0 commit comments