You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/kotlinx-coroutines-core-common/src/main/kotlin/kotlinx/coroutines/experimental/AbstractContinuation.kt
+10-20
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ internal abstract class AbstractContinuation<in T>(
74
74
name state class public state description
75
75
------ ------------ ------------ -----------
76
76
ACTIVE Active : Active active, no listeners
77
-
SINGLE_A CancellationHandler : Active active, one cancellation listener
77
+
SINGLE_A CancelHandler : Active active, one cancellation listener
78
78
CANCELLING Cancelling : Active in the process of cancellation due to cancellation of parent job
Copy file name to clipboardExpand all lines: common/kotlinx-coroutines-core-common/src/main/kotlin/kotlinx/coroutines/experimental/CancellableContinuation.kt
+8-38
Original file line number
Diff line number
Diff line change
@@ -219,16 +219,8 @@ public fun CancellableContinuation<*>.removeOnCancel(node: LockFreeLinkedListNod
219
219
* Removes a given node on cancellation.
220
220
* @suppress **This is unstable API and it is subject to change.**
221
221
*/
222
-
publicfunCancellableContinuation<*>.removeOnCancellation(node:LockFreeLinkedListNode): Unit {
Copy file name to clipboardExpand all lines: common/kotlinx-coroutines-core-common/src/main/kotlin/kotlinx/coroutines/experimental/CompletionHandler.common.kt
+7-5
Original file line number
Diff line number
Diff line change
@@ -39,17 +39,19 @@ public typealias CompletionHandler = (cause: Throwable?) -> Unit
39
39
40
40
// We want class that extends LockFreeLinkedListNode & CompletionHandler but we cannot do it on Kotlin/JS,
41
41
// so this expect class provides us with the corresponding abstraction in a platform-agnostic way.
0 commit comments