Kite Ssot Io Worker Extension
The generated browser Web Worker helper, inside kiteSsot { web { ioWorker { ... } } }.
kiteSsot {
web {
ioWorker {
targets("js")
packageName = "com.acme.app.generated"
}
}
}Opening this block turns generation on. KiteSSOT then writes a kiteSsotOffload function into each listed target's source set, so the plain js target gets it in jsMain. The function runs one JavaScript job on a throwaway worker, waits for the answer, and terminates the worker.
This is a small browser helper, not Dispatchers.IO and not a cross-platform worker runtime. It needs the browser Worker, Blob, and object-URL APIs, so Node.js-only targets and wasmJs are unsupported. You also add kotlinx-coroutines-core yourself: KiteSSOT never adds a dependency for you.
The helper executes raw JavaScript source as code. Only pass source you wrote and trust, never anything built from user-controlled data. The deployed Content Security Policy must allow Blob workers too, normally with worker-src blob:.