File tree 1 file changed +3
-3
lines changed
kotlinx-coroutines-core/common/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -252,9 +252,9 @@ public interface Job : CoroutineContext.Element {
252
252
* suspending function is invoked or while it is suspended, this function
253
253
* throws [CancellationException].
254
254
*
255
- * In particular, it means that a parent coroutine invoking `join` on a child coroutine that was started using
256
- * `launch(coroutineContext) { ... }` builder throws [CancellationException] if the child
257
- * had crashed, unless a non-standard [CoroutineExceptionHandler] is installed in the context .
255
+ * In particular, it means that a parent coroutine invoking `join` on a child coroutine throws
256
+ * [CancellationException] if the child had failed, since a failure of a child coroutine cancels parent by default,
257
+ * unless the child was launched from within [supervisorScope] .
258
258
*
259
259
* This function can be used in [select] invocation with [onJoin] clause.
260
260
* Use [isCompleted] to check for a completion of this job without waiting.
You can’t perform that action at this time.
0 commit comments