Yokan / rebuild
Course 1 8624561

Concurrency.wasm.kt

composeApp/src/wasmJsMain/kotlin/eu/friedcutlet/yokan/services/Concurrency.wasm.kt

implementation11 lines
1package eu.friedcutlet.yokan.services23import kotlinx.coroutines.CoroutineDispatcher4import kotlinx.coroutines.CoroutineScope5import kotlinx.coroutines.Dispatchers6import kotlin.coroutines.CoroutineContext78actual fun <T> runBlockingCompat(context: CoroutineContext, block: suspend CoroutineScope.() -> T): T =9    throw UnsupportedOperationException("The browser cannot block on suspending work.")1011actual val blockingDispatcher: CoroutineDispatcher = Dispatchers.Default12

Search chapters, reference and source filenames.