File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Filter options
kotlinx-coroutines-core/common/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public fun MainScope(): CoroutineScope = ContextScope(SupervisorJob() + Dispatch
123
123
/* *
124
124
* Returns `true` when the current [Job] is still active (has not completed and was not cancelled yet).
125
125
*
126
- * Coroutine cancallation [is cooperative](https://kotlinlang.org/docs/cancellation-and-timeouts.html#cancellation-is-cooperative)
126
+ * Coroutine cancellation [is cooperative](https://kotlinlang.org/docs/cancellation-and-timeouts.html#cancellation-is-cooperative)
127
127
* and normally, it's checked if a coroutine is cancelled when it *suspends*, for example,
128
128
* when trying to read from a [channel][kotlinx.coroutines.channels.Channel] that is empty.
129
129
*
@@ -318,7 +318,7 @@ public fun CoroutineScope.cancel(message: String, cause: Throwable? = null): Uni
318
318
/* *
319
319
* Throws the [CancellationException] that was the scope's cancellation cause if the scope is no longer [active][CoroutineScope.isActive].
320
320
*
321
- * Coroutine cancallation [is cooperative](https://kotlinlang.org/docs/cancellation-and-timeouts.html#cancellation-is-cooperative)
321
+ * Coroutine cancellation [is cooperative](https://kotlinlang.org/docs/cancellation-and-timeouts.html#cancellation-is-cooperative)
322
322
* and normally, it's checked if a coroutine is cancelled when it *suspends*, for example,
323
323
* when trying to read from a [channel][kotlinx.coroutines.channels.Channel] that is empty.
324
324
*
You can’t perform that action at this time.
0 commit comments