In node, How to get notified whenever current execution context completes?
user439 Published in March 20, 2018, 3:23 pm
I want to track end of the current execution context. is there any event that will be emitted whenever current execution context completed?
console.log('set timeout called');
// something similar like this
console.log('current execution context finished. event loop going to
execute the next one!');