Skip to content

Commit 81c7521

Browse files
paolopelizarov
authored andcommitted
Update Job.kt
Typo in cancelAndJoin function Kdoc
1 parent fd42442 commit 81c7521

File tree

1 file changed

+1
-1
lines changed
  • common/kotlinx-coroutines-core-common/src/main/kotlin/kotlinx/coroutines/experimental

1 file changed

+1
-1
lines changed

common/kotlinx-coroutines-core-common/src/main/kotlin/kotlinx/coroutines/experimental/Job.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public fun Job.disposeOnCompletion(handle: DisposableHandle): DisposableHandle =
407407
*
408408
* In particular, it means that a parent coroutine invoking `cancelAndJoin` on a child coroutine that was started using
409409
* `launch(coroutineContext) { ... }` builder throws [CancellationException] if the child
410-
* had crashed, unless a non-standard [CoroutineExceptionHandler] if installed in the context.
410+
* had crashed, unless a non-standard [CoroutineExceptionHandler] is installed in the context.
411411
*
412412
* This is a shortcut for the invocation of [cancel][Job.cancel] followed by [join][Job.join].
413413
*/

0 commit comments

Comments
 (0)