Answer the question
In order to leave comments, you need to log in
How to programmatically call the next tick of the event loop in node.js?
Upon completion of the called tick, you need to return to the place from which it was called programmatically. Like this (pseudocode):
sendMessage();
process.nextTick();
takeMessage();
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