MCPcopy
hub / github.com/facebook/react / postMessage

Method postMessage

scripts/jest/patchMessageChannel.js:13–17  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

11
12 this.port2 = {
13 postMessage(msg) {
14 setTimeout(() => {
15 port1.onmessage(msg);
16 }, 0);
17 },
18 };
19 }
20 };

Callers 15

Scheduler.jsFile · 0.80
sendFunction · 0.80
sendFunction · 0.80
enqueueTaskFunction · 0.80
logEventFunction · 0.80
enqueueTaskFunction · 0.80
scheduleWorkFunction · 0.80
sendFunction · 0.80
messageListenerFunction · 0.80
sendFunction · 0.80
updateRequiredBackendsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected