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

Function onMessage

benchmark/cluster/echo.js:64–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }
63
64 function onMessage() {
65 if (++msgCount === expectedPerBroadcast) {
66 msgCount = 0;
67 broadcast();
68 }
69 }
70 }
71} else {
72 process.on('message', (msg) => {

Callers

nothing calls this directly

Calls 1

broadcastFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…