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

Function onFinish

benchmark/diagnostics_channel/http.js:81–87  ·  view source on GitHub ↗
(res)

Source from the content-addressed store, hash-verified

79 }
80
81 function onFinish(res) {
82 times.push({
83 ...als.getStore(),
84 statusCode: res.statusCode,
85 end: process.hrtime.bigint(),
86 });
87 }
88
89 start.subscribe(onStart);
90 finish.subscribe(onFinish);

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45
getStoreMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…