onEngine

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

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