help
help copied to clipboard
"worker_threads" library every time create new thread
Node.js Version
v20.16.0
NPM Version
10.8.1
Operating System
All
Subsystem
worker_threads
Description
when I am working with threads, nodeJs doesn't have any way to kill or sleep old threads. I think it is continuously creating new threads and I did not find any example to reuse my old threads.
Minimal Reproduction
No response
Output
No response
Before You Submit
- [X] I have looked for issues that already exist before submitting this
- [X] My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask