generateIoWorker

abstract val generateIoWorker: Property<Boolean>

Generate an inline Web Worker offload helper (kiteSsotOffload) into a plugin-owned generated source dir for each selected target. Default false.

The consumer must declare kotlinx-coroutines-core; the plugin does not add that dependency. The generated API is browser-only and fails with a clear exception when browser Worker, Blob, and object-URL APIs are unavailable. It is unsuitable for Node.js-only targets. wasmJs is unsupported and cannot be selected.

The API executes trusted raw JavaScript source. Never derive the job source from user-controlled data. Deployments must permit Blob workers in Content Security Policy, normally with worker-src blob:.