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

Method _enable

lib/internal/async_local_storage/async_hooks.js:84–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 _enable() {
85 if (!this.enabled) {
86 this.enabled = true;
87 ArrayPrototypePush(storageList, this);
88 storageHook.enable();
89 }
90 }
91
92 // Propagate the context from a parent resource to a child one
93 _propagate(resource, triggerResource, type) {

Callers 4

constructorMethod · 0.95
enterWithMethod · 0.95
runMethod · 0.95
exitMethod · 0.95

Calls 1

enableMethod · 0.45

Tested by

no test coverage detected