KiteConfigWebExtension

abstract class KiteConfigWebExtension

Browser Kotlin/JS options, inside kiteConfig { web { ... } }.

kiteConfig {
web {
ioWorker {
targets("js")
}
}
}

Web here means the browser and nothing else. Node.js-only targets and wasmJs are out of scope, and none of this is Dispatchers.IO.

The block itself holds no settings. It is the address where browser features live, and ioWorker is the only tenant today.

Target kindSupported
Kotlin/JS with browser()yes
Kotlin/JS with nodejs() onlyno, the generated code needs Blob and Worker
wasmJsno

See also

for the only feature this block currently holds.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The generated Web Worker helper. Configure it with kiteConfig { web { ioWorker { ... } } }.

Functions

Link copied to clipboard
fun ioWorker(action: Action<in KiteConfigIoWorkerExtension>)

Configure the nested worker helper model. Opening the block turns it on.