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

Function getContext

test/parallel/test-inspector-scriptparsed-context.js:33–37  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

31`;
32
33async function getContext(session) {
34 const created =
35 await session.waitForNotification('Runtime.executionContextCreated');
36 return created.params.context;
37}
38
39async function checkScriptContext(session, context) {
40 const scriptParsed =

Callers 1

runTestsFunction · 0.70

Calls 1

waitForNotificationMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…