generateIoWorker

abstract val generateIoWorker: Property<Boolean>

Generate kiteSsotOffload for each selected browser target.

The default is false. When enabled, the consumer must add kotlinx-coroutines-core; KiteSSOT does not add it. The generated API needs browser Worker, Blob, and object-URL APIs. It throws a clear exception when those APIs are unavailable. Node.js-only targets and wasmJs are not supported.

The helper executes raw JavaScript source as code. Only pass trusted source. Never build it from user-controlled data. The deployed Content Security Policy must allow Blob workers, normally with worker-src blob:.