> expect fun <T> runBlocking(context: Cor...
# kotlin-native
b
expect fun <T> runBlocking(context: CoroutineContext = EmptyCoroutineContext, block: suspend CoroutineScope.() -> T): T
actual fun <T> runBlocking(context: CoroutineContext, block: suspend CoroutineScope.() -> T): T {
return kotlinx.coroutines.runBlocking(context, block)
}
that's how I used runBlocking in
commonMain
(I'm not supporting JS)