onEngine

suspend fun <T> onEngine(block: (KiteJs) -> T): T(source)

Runs block on the engine's dispatcher with the engine in hand.