xref: /aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/internal/NoOpProbes.kt (revision 7a7160fed73afa6648ef8aa100d4a336fe921d9a)
1 @file:Suppress("unused", "UNUSED_PARAMETER")
2 
3 package kotlinx.coroutines.debug.internal
4 
5 import kotlin.coroutines.*
6 
7 /*
8  * Empty class used to replace installed agent in the end of debug session
9  */
10 @JvmName("probeCoroutineResumed")
probeCoroutineResumedNoOpnull11 internal fun probeCoroutineResumedNoOp(frame: Continuation<*>) = Unit
12 @JvmName("probeCoroutineSuspended")
13 internal fun probeCoroutineSuspendedNoOp(frame: Continuation<*>) = Unit
14 @JvmName("probeCoroutineCreated")
15 internal fun <T> probeCoroutineCreatedNoOp(completion: kotlin.coroutines.Continuation<T>): kotlin.coroutines.Continuation<T> = completion
16