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

Function active

lib/internal/timers.js:347–349  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

345// Schedule or re-schedule a timer.
346// The item must have been enroll()'d first.
347function active(item) {
348 insertGuarded(item, true);
349}
350
351// Internal APIs that need timeouts should use `unrefActive()` instead of
352// `active()` so that they do not unnecessarily keep the process open.

Callers 1

refreshMethod · 0.85

Calls 1

insertGuardedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…