mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-06-29 04:47:38 +00:00
6 lines
188 B
Kotlin
6 lines
188 B
Kotlin
|
package com.insanusmokrassar.krontab.utils
|
||
|
|
||
|
import kotlinx.coroutines.*
|
||
|
|
||
|
actual fun runTest(block: suspend (scope : CoroutineScope) -> Unit): dynamic = GlobalScope.promise { block(this) }
|