Skip to content

Worker Kit ​

0.2.5 ​

2026-09-12

  • run()/map() on createWorkerPool/useWorkerPool no longer discard ctx.reportProgress()/ctx.reportChunk() — progress and chunks are now wired through WorkerPool.
  • useWorker() now exposes an explicit terminate() method.
  • A crashed worker (Worker.onerror) is now recreated on the next run() instead of reusing the broken instance.
  • With streaming: false, calling ctx.reportChunk() now logs a dev-mode warning instead of silently dropping the chunk.
  • Removed the stale "nuxt" keyword from package.json (no Nuxt module exists in this package).
  • WorkerComputedResult's fields are now wrapped in Vue's readonly(), enforcing the readonly typing at runtime too.
  • RetryStrategyOptions/StreamingOptions are now used as the real parameter types for UseWorkerOptions/UseSharedWorkerOptions instead of being redeclared inline.