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

Function onMessageEvent

lib/internal/worker/io.js:348–350  ·  view source on GitHub ↗
(type, data)

Source from the content-addressed store, hash-verified

346}
347
348function onMessageEvent(type, data) {
349 this.dispatchEvent(lazyMessageEvent(type, { data }));
350}
351
352function isBroadcastChannel(value) {
353 return value?.[kType] === 'BroadcastChannel';

Callers

nothing calls this directly

Calls 2

lazyMessageEventFunction · 0.85
dispatchEventMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…