CoroutineAbstraction

Starts coroutines in blocking and nonblocking way. Mostly for internal use, there should be no reason to use it directly in client code.

Functions

Link copied to clipboard
suspend fun CoroutineAbstraction.createStateMachine(name: String?, childMode: ChildMode, start: Boolean, creationArguments: CreationArguments = buildCreationArguments {}, init: suspend BuildingStateMachine.() -> Unit): StateMachine
Link copied to clipboard
abstract fun <R : Any> runBlocking(block: suspend () -> R): R
Link copied to clipboard
abstract suspend fun <R : Any> withContext(block: suspend () -> R): R