I createa server in Node.js and I want to run this function when it is called, and then do the task asynchronously in a seperate thread and browser and then return the result how can I do this ?
Is there any action that can get info of how many threads are running in this moment?
-
@111cbt111 said in Is there any action that can get info of how many threads are running in this moment?:
Is there any action that can get info of how many threads are running in this moment?
No, use a global variable and create the counter yourself.