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

fix(serve): close dup'd fd on channel-close race; wire highWaterMark master

- closeSync(fd) in the catch path prevents fd leak when a PushChannel is already closed during shutdown. - Pass highWaterMark through to channel() so backpressure is enforced at the cross-thread pipe layer. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+5 -4
1 changed file