asyncKiteJs
suspend fun asyncKiteJs(dispatcher: CoroutineDispatcher = Dispatchers.Default.limitedParallelism(1), configure: KiteJsConfig.() -> Unit = {}): AsyncKiteJs
Builds an engine on its own dispatcher.
Cancelling the coroutine that called into the engine stops the running script: the engine asks the hook between instructions, and a cancelled job answers "stop". That needs an instruction budget to be set, so one is set for you when you do not name one.