Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ handleRequest
Function
handleRequest
test/fixtures/clustered-server/app.js:6–8 ·
view source on GitHub ↗
(request, response)
Source
from the content-addressed store, hash-verified
4
const
cluster = require(
'cluster'
);
5
6
function
handleRequest(request, response) {
7
response.end(
'hello world\n'
);
8
}
9
10
const
NUMBER_OF_WORKERS = 2;
11
var
workersOnline = 0;
Callers
nothing calls this directly
Calls
1
end
Method · 0.45
Tested by
no test coverage detected