From 582db8d659877cd2c482d485e0ba19913dba3a6a Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Fri, 31 Jul 2020 14:01:49 +0200 Subject: Re/de-shadow kotlin-compiler artifact --- .../src/linuxMain/kotlin/it/mpp0/runBlocking.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/runBlocking.kt (limited to 'integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain') diff --git a/integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/runBlocking.kt b/integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/runBlocking.kt new file mode 100644 index 00000000..b56fb80a --- /dev/null +++ b/integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/runBlocking.kt @@ -0,0 +1,13 @@ +package it.mpp0 + +import kotlinx.coroutines.CoroutineScope +import kotlinx.coroutines.Deferred +import kotlinx.coroutines.async + +actual fun CoroutineScope.runBlocking(block: suspend () -> T): T { + TODO("Not yet implemented") +} + +fun CoroutineScope.customAsync(block: suspend () -> T): Deferred { + return async { block() } +} -- cgit