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

Function next

test/parallel/test-timers-clearImmediate.js:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4const N = 3;
5
6function next() {
7 const fn = common.mustCall(() => clearImmediate(immediate));
8 const immediate = setImmediate(fn);
9}
10
11for (let i = 0; i < N; i++) {
12 next();

Callers 1

Calls 2

clearImmediateFunction · 0.85
setImmediateFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…