Setu-TS
    Preparing search index...

    Module runtime/src/worker/define-worker-task

    Worker-side task helper — the ONLY framework code that runs inside a worker thread, published as the @setu-ts/runtime/worker subpath so task modules can import it without pulling in the runtime plugin barrel.

    Application task modules call defineWorkerTask at module top level; the WorkerPoolPlugin's pool spawns workers of that module and speaks the shared protocol from @setu-ts/common to them.

    defineWorkerTask