Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ withScope
Method
withScope
lib/diagnostics_channel.js:393–395 ·
view source on GitHub ↗
(context = kEmptyObject)
Source
from the content-addressed store, hash-verified
391
}
392
393
withScope(context = kEmptyObject) {
394
return
new
BoundedChannelScope(this, context);
395
}
396
397
run(context, fn, thisArg, ...args) {
398
context ??= {};
Callers
13
run
Method · 0.95
constructor
Method · 0.45
traceSync
Method · 0.45
reject
Method · 0.45
resolve
Method · 0.45
tracePromise
Method · 0.45
wrappedCallback
Method · 0.45
traceCallback
Method · 0.45
test-diagnostics-channel-bounded-channel-scope.js
File · 0.45
test-async-local-storage-run-scope.js
File · 0.45
test-diagnostics-channel-bounded-channel-scope-nested.js
File · 0.45
test-diagnostics-channel-bounded-channel-scope-error.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected