Yokan / rebuild
Course 1 8624561

Concurrency.nonWeb.kt

composeApp/src/nonWebMain/kotlin/eu/friedcutlet/yokan/services/Concurrency.nonWeb.kt

implementation13 lines
1package eu.friedcutlet.yokan.services23import kotlinx.coroutines.CoroutineDispatcher4import kotlinx.coroutines.CoroutineScope5import kotlinx.coroutines.Dispatchers6import kotlinx.coroutines.IO7import kotlinx.coroutines.runBlocking8import kotlin.coroutines.CoroutineContext910actual fun <T> runBlockingCompat(context: CoroutineContext, block: suspend CoroutineScope.() -> T): T =11    runBlocking(context, block)1213actual val blockingDispatcher: CoroutineDispatcher = Dispatchers.IO14

Search chapters, reference and source filenames.