Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 56646ae

Browse filesBrowse files
authored
Fix typo in CoroutineScope KDocs (#4367)
`cancallation` -> `cancellation`
1 parent aacb7d7 commit 56646ae
Copy full SHA for 56646ae

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎kotlinx-coroutines-core/common/src/CoroutineScope.kt

Copy file name to clipboardExpand all lines: kotlinx-coroutines-core/common/src/CoroutineScope.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public fun MainScope(): CoroutineScope = ContextScope(SupervisorJob() + Dispatch
123123
/**
124124
* Returns `true` when the current [Job] is still active (has not completed and was not cancelled yet).
125125
*
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)
127127
* and normally, it's checked if a coroutine is cancelled when it *suspends*, for example,
128128
* when trying to read from a [channel][kotlinx.coroutines.channels.Channel] that is empty.
129129
*
@@ -318,7 +318,7 @@ public fun CoroutineScope.cancel(message: String, cause: Throwable? = null): Uni
318318
/**
319319
* Throws the [CancellationException] that was the scope's cancellation cause if the scope is no longer [active][CoroutineScope.isActive].
320320
*
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)
322322
* and normally, it's checked if a coroutine is cancelled when it *suspends*, for example,
323323
* when trying to read from a [channel][kotlinx.coroutines.channels.Channel] that is empty.
324324
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.