MCPcopy Create free account
hub / github.com/nodejs/undici / close

Function close

benchmarks/benchmark-https.js:266–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264 return makeParallelRequests(resolve => {
265 fetch(dest.url, {}).then(res => {
266 res.body.pipeTo(new WritableStream({ write () { }, close () { resolve() } }))
267 }).catch(console.log)
268 })
269 }

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected