Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ enable
Function
enable
lib/internal/trace_events_async_hooks.js:82–87 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
80
81
return
{
82
enable() {
83
if
(this[kEnabled])
84
return
;
85
this[kEnabled] = true;
86
hook.enable();
87
},
88
89
disable() {
90
if
(!this[kEnabled])
Callers
nothing calls this directly
Calls
1
enable
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…