josdejong/workerpool

Support workerData as a pool option for worker threads?

オープン

#65 opened on 2019/04/16

 (10 件のコメント) (12 件のリアクション) (0 人の担当者)JavaScript (164 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (2,307 個のスター)
PR merge metrics
 (平均マージ 21d 16h) (30d で 3 merged PRs)

説明

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

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