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

Function coarsenedSharedCurrentTime

deps/undici/src/lib/web/fetch/util.js:340–342  ·  view source on GitHub ↗
(crossOriginIsolatedCapability)

Source from the content-addressed store, hash-verified

338
339// https://w3c.github.io/hr-time/#dfn-coarsened-shared-current-time
340function coarsenedSharedCurrentTime (crossOriginIsolatedCapability) {
341 return coarsenTime(performance.now(), crossOriginIsolatedCapability)
342}
343
344// https://fetch.spec.whatwg.org/#create-an-opaque-timing-info
345function createOpaqueTimingInfo (timingInfo) {

Callers 5

finalizeAndReportTimingFunction · 0.70
fetchingFunction · 0.70
httpRedirectFetchFunction · 0.70
onRequestStartFunction · 0.70
onResponseStartedFunction · 0.70

Calls 2

nowMethod · 0.80
coarsenTimeFunction · 0.70

Tested by

no test coverage detected