MCPcopy Index your code
hub / github.com/nodejs/node / runNextTicks

Function runNextTicks

lib/internal/process/task_queues.js:63–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62// Should be in sync with RunNextTicksNative in node_task_queue.cc
63function runNextTicks() {
64 if (!hasTickScheduled() && !hasRejectionToWarn())
65 runMicrotasks();
66 if (!hasTickScheduled() && !hasRejectionToWarn())
67 return;
68
69 processTicksAndRejections();
70}
71
72function processTicksAndRejections() {
73 let tock;

Callers 3

processImmediateFunction · 0.85
processTimersFunction · 0.85
listOnTimeoutFunction · 0.85

Calls 3

hasTickScheduledFunction · 0.85
hasRejectionToWarnFunction · 0.85

Tested by

no test coverage detected