diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-31 14:01:49 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-31 17:54:04 +0200 |
commit | 582db8d659877cd2c482d485e0ba19913dba3a6a (patch) | |
tree | 5ae22618194e11535f094a6712020054a398648a /integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain | |
parent | 292b3fbf0b86f8370f23c8e631e37b735393226d (diff) | |
download | dokka-582db8d659877cd2c482d485e0ba19913dba3a6a.tar.gz dokka-582db8d659877cd2c482d485e0ba19913dba3a6a.tar.bz2 dokka-582db8d659877cd2c482d485e0ba19913dba3a6a.zip |
Re/de-shadow kotlin-compiler artifact
Diffstat (limited to 'integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain')
-rw-r--r-- | integration-tests/gradle/projects/it-multiplatform-0/src/linuxMain/kotlin/it/mpp0/runBlocking.kt | 13 |
1 files changed, 13 insertions, 0 deletions
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 <T> CoroutineScope.runBlocking(block: suspend () -> T): T { + TODO("Not yet implemented") +} + +fun <T> CoroutineScope.customAsync(block: suspend () -> T): Deferred<T> { + return async { block() } +} |