josdejong/workerpool

Support workerData as a pool option for worker threads?

Open

#65 aberto em 16 de abr. de 2019

Ver no GitHub
 (10 comments) (12 reactions) (0 assignees)JavaScript (164 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (2.297 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador