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

Method waitForNotification

test/common/inspector-helper.js:228–233  ·  view source on GitHub ↗
(methodOrPredicate, description)

Source from the content-addressed store, hash-verified

226 }
227
228 waitForNotification(methodOrPredicate, description) {
229 const desc = description || methodOrPredicate;
230 const message = `Timed out waiting for matching notification (${desc})`;
231 return fires(
232 this._asyncWaitForNotification(methodOrPredicate), message, TIMEOUT);
233 }
234
235 async _asyncWaitForNotification(methodOrPredicate) {
236 function matchMethod(notification) {

Callers 15

waitForBreakOnLineMethod · 0.95
waitForPauseOnStartMethod · 0.95
waitForConsoleOutputMethod · 0.95
runToCompletionMethod · 0.95
runTestsFunction · 0.80
testBreakpointOnStartFunction · 0.80
runTestFunction · 0.80
runTestsFunction · 0.80
setupSessionFunction · 0.80
testSuspendFunction · 0.80
testBreakpointOnStartFunction · 0.80
testBreakpointOnStartFunction · 0.80

Calls 2

firesFunction · 0.85

Tested by 2

testFunction · 0.64
testFunction · 0.64