File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
kotlinx-coroutines-core/common/src Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -217,11 +217,10 @@ public interface Job : CoroutineContext.Element {
217
217
* immediately cancels all its children.
218
218
* * Parent cannot complete until all its children are complete. Parent waits for all its children to
219
219
* complete in _completing_ or _cancelling_ state.
220
- * * Uncaught exception in a child, by default, cancels parent. In particular, this applies to
221
- * children created with [launch][CoroutineScope.launch] coroutine builder. Note that
222
- * [async][CoroutineScope.async] and other future-like
223
- * coroutine builders do not have uncaught exceptions by definition, since all their exceptions are
224
- * caught and are encapsulated in their result.
220
+ * * Uncaught exception in a child, by default, cancels parent. This applies even to
221
+ * children created with [async][CoroutineScope.async] and other future-like
222
+ * coroutine builders, even though their exceptions are caught and are encapsulated in their result.
223
+ * This default behavior can be overridden with [SupervisorJob].
225
224
*/
226
225
public val children: Sequence <Job >
227
226
You can’t perform that action at this time.
0 commit comments