mstephen19 / nanolith

Multithreading in Node.js made simple with seamless TypeScript support.

Home Page:https://www.npmjs.com/package/nanolith

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Info request on launchService behaviour

Kezanwar opened this issue · comments

commented

Hi,

I was wondering if you could answer a question for me regarding launchService / worker threads behaviour.

If i keep my service 'running' and dont call the close method on it, if the worker thread has no tasks to run does it stop using up CPU until it is given more tasks to run?

Sorry if its a bit of a nooby question im relatively new to back end development 😄

Thanks
Kez