kotlin-client.libraries.multiplatform.commonTest.Coroutine.kt.mustache Maven / Gradle / Ivy
{{>licenseInfo}}
package util
import kotlinx.coroutines.CoroutineScope
/**
* Block the current thread until execution of the given coroutine is complete.
*
* @param block The coroutine code.
* @return The result of the coroutine.
*/
internal expect fun runTest(block: suspend CoroutineScope.() -> T): T