Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ onOnline
Function
onOnline
benchmark/worker/echo.js:42–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
}
41
42
function
onOnline() {
43
if
(++readies === workers) {
44
bench.start();
45
broadcast();
46
}
47
}
48
49
function
broadcast() {
50
if
(broadcasts++ === n) {
Callers
nothing calls this directly
Calls
2
broadcast
Function · 0.70
start
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…