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

Function incRefCount

lib/internal/timers.js:331–336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329const immediateQueue = new ImmediateList();
330
331function incRefCount() {
332 if (timeoutInfo[0]++ === 0) {
333 // We need to use the binding as the receiver for fast API calls.
334 binding.toggleTimerRef(true);
335 }
336}
337
338function decRefCount() {
339 if (--timeoutInfo[0] === 0) {

Callers 3

constructorMethod · 0.85
refMethod · 0.85
insertGuardedFunction · 0.85

Calls 1

toggleTimerRefMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…