josdejong/workerpool

Support workerData as a pool option for worker threads?

Aperta

#65 aperta il 16 apr 2019

 (10 commenti) (12 reazioni) (0 assegnatari)JavaScript (164 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (2307 stelle)
Metriche merge PR
 (Merge medio 21g 16h) (3 PR mergiate in 30 g)

Descrizione

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

Guida contributor