File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
kotlinx-coroutines-core/common/src Expand file tree Collapse file tree 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.*
2828 *
2929 * A [cancelled][isCancelled] continuation implies that it is [completed][isCompleted].
3030 *
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.
3533 *
3634 * ```
3735 * +-----------+ resume +---------+
You can’t perform that action at this time.
0 commit comments