josdejong/workerpool

Support workerData as a pool option for worker threads?

Open

#65 opened on 2019年4月16日

GitHub で見る
 (10 comments) (12 reactions) (0 assignees)JavaScript (164 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (2,297 stars)
PR merge metrics
 (PR metrics pending)

説明

It would be cool to have a way to make general data available on worker initialization instead of just through worker function parameters. I can submit a PR.

Ref: https://nodejs.org/api/worker_threads.html#worker_threads_worker_workerdata

コントリビューターガイド