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

Function useDomainTrampoline

lib/internal/async_hooks.js:115–117  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

113
114let domain_cb;
115function useDomainTrampoline(fn) {
116 domain_cb = fn;
117}
118
119function callbackTrampoline(asyncId, resource, cb, ...args) {
120 const index = async_hook_fields[kStackLength] - 1;

Callers 1

domain.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected