josdejong/workerpool
Auf GitHub ansehenSupport workerData as a pool option for worker threads?
Open
#65 geöffnet am 16. Apr. 2019
enhancementhelp wanted
Repository-Metriken
- Stars
- (2.297 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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