josdejong/workerpool

Support workerData as a pool option for worker threads?

Offen

#65 geöffnet am 16.04.2019

 (10 Kommentare) (12 Reaktionen) (0 zugewiesene Personen)JavaScript (164 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (2.307 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 21T 16h) (3 gemergte PRs in 30 T)

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

Contributor Guide