Skip to content

Commit 2b89972

Browse files
digitalbuddhaqwwdfsad
authored andcommitted
Update awaitAll documentation wording
1 parent b2469c9 commit 2b89972

File tree

1 file changed

+2
-2
lines changed
  • common/kotlinx-coroutines-core-common/src

1 file changed

+2
-2
lines changed

common/kotlinx-coroutines-core-common/src/Await.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import kotlin.jvm.*
1313
* when all deferred computations are complete or resumes with the first thrown exception if any of computations
1414
* complete exceptionally including cancellation.
1515
*
16-
* This function is **not** equivalent to `deferreds.map { it.await() }` which fails only when when it sequentially
17-
* gets to wait the failing deferred, while this `awaitAll` fails immediately as soon as any of the deferreds fail.
16+
* This function is **not** equivalent to `deferreds.map { it.await() }` which fails only when it sequentially
17+
* gets to wait for the failing deferred, while this `awaitAll` fails immediately as soon as any of the deferreds fail.
1818
*
1919
* This suspending function is cancellable.
2020
* If the [Job] of the current coroutine is cancelled or completed while this suspending function is waiting,

0 commit comments

Comments
 (0)