MCPcopy
hub / github.com/nodejs/undici / reject

Function reject

benchmarks/_util/runner.js:102–102  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

100 for (let j = 0; (j < minSamples || timing < 800_000_000) && (typeof options.maxSamples === 'number' ? options.maxSamples > j : true); ++j) {
101 let resolve = (value) => {}
102 let reject = (reason) => {}
103 const promise = new Promise(
104 (_resolve, _reject) => { resolve = _resolve; reject = _reject }
105 )

Callers 15

closeMethod · 0.85
destroyMethod · 0.85
waitForDrainFunction · 0.85
waitForDrainFunction · 0.85
connectFunction · 0.85
streamFunction · 0.85
dumpMethod · 0.85
consumeFunction · 0.85
upgradeFunction · 0.85
requestFunction · 0.85
onResponseStartFunction · 0.85
onResponseErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…