Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ unref
Method
unref
lib/internal/timers.js:243–250 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
241
}
242
243
unref() {
244
if
(this[kRefed]) {
245
this[kRefed] = false;
246
if
(!this._destroyed)
247
decRefCount();
248
}
249
return
this;
250
}
251
252
ref() {
253
if
(!this[kRefed]) {
Callers
nothing calls this directly
Calls
1
decRefCount
Function · 0.85
Tested by
no test coverage detected