SrSouza
06/18/2021, 7:35 PMrunBlocking ?diesieben07
06/18/2021, 7:41 PMContinuationInterceptor is an EventLoop, however that is an internal class.ephemient
06/19/2021, 7:26 AMrunBlocking {
coroutineContext[ContinuationInterceptor.Key]!!::class
.allSuperclasses
.any { it.qualifiedName == "kotlinx.coroutines.EventLoop" }
}
but that is fragile. it'll yield false within runBlocking { withContext(Dispatchers.Unconfined) { } } but you're still effectively runBlocking, for example. what are you trying to do?SrSouza
06/20/2021, 1:15 PMephemient
06/20/2021, 7:44 PMephemient
06/20/2021, 7:45 PM