Node.js script doesn't go away, how do I know which functions / callbacks keep running?

I wrote a script in node.js that downloads some data and stores it in mongodb. However, after the download and save callbacks are complete, the process does not stop.

Is there a way to see which asynchronous operations or scheduled callbacks keep node running?


source to share

All Articles