File tree 1 file changed +2
-4
lines changed
kotlinx-coroutines-core/common/src
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,8 @@ import kotlin.coroutines.intrinsics.*
28
28
*
29
29
* A [cancelled][isCancelled] continuation implies that it is [completed][isCompleted].
30
30
*
31
- * Invocation of [resume] or [resumeWithException] in _resumed_ state produces an [IllegalStateException].
32
- * Invocation of [resume] in _cancelled_ state is ignored (it is a trivial race between resume from the continuation owner and
33
- * outer job's cancellation, and the cancellation wins).
34
- * Invocation of [resumeWithException] in _cancelled_ state triggers exception handling of the passed exception.
31
+ * Invocation of [resume] or [resumeWithException] in _resumed_ state produces an [IllegalStateException],
32
+ * but is ignored in _cancelled_ state.
35
33
*
36
34
* ```
37
35
* +-----------+ resume +---------+
You can’t perform that action at this time.
0 commit comments