blob: b56fb80ab61ca9508724bb85da7629a87cef81f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package it.mpp0
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.async
actual fun <T> CoroutineScope.runBlocking(block: suspend () -> T): T {
TODO("Not yet implemented")
}
fun <T> CoroutineScope.customAsync(block: suspend () -> T): Deferred<T> {
return async { block() }
}
|