1 /* 2 * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 package kotlin.coroutines 5 6 // DOKKA STUB 7 public interface ContinuationInterceptor : CoroutineContext.Element { 8 public companion object Key : CoroutineContext.Key<ContinuationInterceptor> interceptContinuationnull9 public fun <T> interceptContinuation(continuation: Continuation<T>): Continuation<T> 10 public fun releaseInterceptedContinuation(continuation: Continuation<*>): Continuation<*> { 11 return continuation 12 } getnull13 public override operator fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E? = TODO() 14 public override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext = TODO() 15 } 16