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

Function waitForNotification

test/parallel/test-inspector-connect-main-thread.js:40–42  ·  view source on GitHub ↗
(session, notification)

Source from the content-addressed store, hash-verified

38}
39
40async function waitForNotification(session, notification) {
41 return new Promise((resolve) => session.once(notification, resolve));
42}
43
44function startWorker(skipChild, sharedBuffer) {
45 return new Promise((resolve) => {

Callers 1

childMainFunction · 0.85

Calls 1

onceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…