josdejong / josdejong/workerpool

Support binary data

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
2.3k
Forks
164
PR merge metrics
No merged PRs in 30d

Description

Web workers can pass binary data, but this doesn't work in workerpool.

the `stdio` option for child processes was added a bit ago, and allows creation of the ipc channel, which can then be leveraged for sending binary data.

additionally there's the new [`cluster` native module](https://github.com/nodejs/node/blob/master/test/parallel/test-cluster-fork-stdio.js) which automates a lot of this.

i'd love the workerpool API available on top of either one of these approaches so i can have a robust solution that works on both web and node.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.