commonMain.co.touchlab.stately.isolate.StateRunner.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stately-isolate-js Show documentation
Show all versions of stately-isolate-js Show documentation
Multithreaded Kotlin Multiplatform Utilities
package co.touchlab.stately.isolate
interface StateRunner {
fun stateRun(block: () -> R): R
fun stop()
}
expect class BackgroundStateRunner constructor() : StateRunner {
override fun stateRun(block: () -> R): R
override fun stop()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy