Created
November 11, 2023 21:56
-
-
Save af2905/301357689ca30c0ef70b6bca894128b7 to your computer and use it in GitHub Desktop.
BaseContinuationImpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kotlin.coroutines.jvm.internal | |
@SinceKotlin("1.3") | |
internal abstract class BaseContinuationImpl( | |
public val completion: Continuation<Any?>? | |
) : Continuation<Any?>, CoroutineStackFrame, Serializable { | |
protected abstract fun invokeSuspend(result: Result<Any?>): Any? | |
public open fun create(completion: Continuation<*>): Continuation<Unit> { | |
throw UnsupportedOperationException("create(Continuation) has not been overridden") | |
} | |
public open fun create(value: Any?, completion: Continuation<*>): Continuation<Unit> { | |
throw UnsupportedOperationException("create(Any?;Continuation) has not been overridden") | |
} | |
// There are many other functions here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment