josdejong/workerpool

Support workerData as a pool option for worker threads?

Open

#65 建立於 2019年4月16日

在 GitHub 查看
 (10 留言) (12 反應) (0 負責人)JavaScript (164 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (2,297 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南