Package-level declarations

Types

Link copied to clipboard

An engine that lives on one thread, so suspending code can use it from anywhere.

Functions

Link copied to clipboard
suspend fun <C : KiteJsConfig> asyncKiteJs(engine: JsEngine<C>, dispatcher: CoroutineDispatcher = EngineThread(), configure: C.() -> Unit = {}): AsyncKiteJs

Builds an engine on engine, on a thread of its own. The engine is loaded first, which for QuickJS in a browser compiles its WebAssembly; see JsEngine.load.