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

fix: plumb highWaterMark through to stream producer master

dispatchStream was reading opts.highWaterMark into a local but never forwarding it to the worker. Worker-side pipeIterable was defaulting to its own hardcoded 16, so user-supplied highWaterMark had no effect after the atomics refactor. Include highWater in the dispatch message; handleStreamTask passes it to pipeIterable's flags-branch so the producer parks at the requested threshold. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>


+13 -3
2 changed files