Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ server.js
File
server.js
examples/cluster-engine-node-cluster/server.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
cluster from
"node:cluster"
;
2
import
process from
"node:process"
;
3
import
{ availableParallelism } from
"node:os"
;
4
import
{
Callers
nothing calls this directly
Calls
9
createAdapter
Function · 0.90
createServer
Function · 0.85
bind
Method · 0.80
listen
Method · 0.80
emit
Method · 0.65
on
Method · 0.45
end
Method · 0.45
writeHead
Method · 0.45
attach
Method · 0.45
Tested by
no test coverage detected