V
V
Vitaly2016-12-11 17:29:37
Node.js
Vitaly, 2016-12-11 17:29:37

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

1 answer(s)
C
catHD, 2016-12-12
@catHD

Why are you using nodejs?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question