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

Method _propagate

lib/internal/async_local_storage/async_hooks.js:93–98  ·  view source on GitHub ↗
(resource, triggerResource, type)

Source from the content-addressed store, hash-verified

91
92 // Propagate the context from a parent resource to a child one
93 _propagate(resource, triggerResource, type) {
94 const store = triggerResource[this.kResourceStore];
95 if (this.enabled) {
96 resource[this.kResourceStore] = store;
97 }
98 }
99
100 enterWith(store) {
101 this._enable();

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected