Offload functions to worker threads with shared memory primitives for Node.js.
Something went wrong. Try again.
feat: Runner accepts array of tasks, update examples to use run([...]) master
run() now accepts either a single Task or an array of Tasks. With an array, it returns Promise<[R1, R2, ...]> with proper tuple typing. Replaces Promise.all([run(a), run(b)]) pattern. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author Devin Ivy Co-author Claude Opus 4.6 (1M context) Date (Apr 9, 2026, 10:07 PM UTC) Commit e5690976 e56909762fe08e1c26a11374f10c2ca3a3be134f Parent 9579445a 9579445aebe5a08103283daa041e1884e9224bcf