Answer the question
In order to leave comments, you need to log in
How to separate a separate function into a managed process?
Let's say there is some asynchronous function in a Node.js server application. It is required to allocate it to a managed process so that it is possible to manage the process with requests for routes like /start, /stop, /pause , and the like. How to implement such a moment correctly and with what tools?
Is this approach correct at all?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question