Offload functions to worker threads with shared memory primitives for Node.js.
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: clearer usage example in per-worker dispatch spec

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+4 -1
+4 -1
docs/superpowers/specs/2026-04-13-per-worker-dispatch-design.md
··· 63 63 { 64 64 using run = workers(); 65 65 const ch = channel(generate(200)); 66 - const results = await run(run.workers.map(w => assign(w, process(ch)))); 66 + const fanout = run.workers.map((w) => { 67 + return assign(w, process(ch)) 68 + }) 69 + const results = await run(fanout); 67 70 } 68 71 69 72 // Mix pinned and unpinned in a batch