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

Function waitForWasmScript

deps/v8/test/inspector/debugger/wasm-debug-command.js:66–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66async function waitForWasmScript() {
67 InspectorTest.log('Waiting for wasm scripts to be parsed.');
68 while (true) {
69 let msg = await Protocol.Debugger.onceScriptParsed();
70 let url = msg.params.url;
71 if (!url.startsWith('wasm://')) {
72 InspectorTest.log('Ignoring script with url ' + url);
73 continue;
74 }
75 let scriptId = msg.params.scriptId;
76 InspectorTest.log('Got wasm script: ' + url);
77 return scriptId;
78 }
79}

Callers 1

Calls 1

logMethod · 0.45

Tested by

no test coverage detected