Offload functions to worker threads with shared memory primitives for Node.js.
Something went wrong. Try again.
feat: pipeline example and process exit verification master
Fix worker ref/unref lifecycle so dedicated workers don't hold the event loop open when idle: setupWorker before unref (so unref wins), then ref/unref around each execute() call and for the duration of each dispatchStream(). Streaming port1 is unref'd after its listener is added, so stream completion triggers natural exit. 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 10, 2026, 5:33 PM UTC) Commit 779fde94 779fde94c3477e9f1c0fc27e54f87e4beb0c702a Parent e691b3a5 e691b3a5da762c7d34cd8949313f3d11e0ec2bde