mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-06-03 00:15:24 +00:00
6 lines
176 B
Kotlin
6 lines
176 B
Kotlin
package dev.inmo.krontab.utils
|
|
|
|
import kotlinx.coroutines.*
|
|
|
|
actual fun runTest(block: suspend (scope : CoroutineScope) -> Unit): dynamic = GlobalScope.promise { block(this) }
|