MCPcopy Create free account
hub / github.com/nodejs/node / onStart

Function onStart

benchmark/diagnostics_channel/http.js:74–79  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

72 const finish = dc.channel('http.server.response.finish');
73
74 function onStart(req) {
75 als.enterWith({
76 url: req.url,
77 start: process.hrtime.bigint(),
78 });
79 }
80
81 function onFinish(res) {
82 times.push({

Callers

nothing calls this directly

Calls 1

enterWithMethod · 0.45

Tested by

no test coverage detected