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

Method onResponseEnd

lib/handler/cache-handler.js:441–444  ·  view source on GitHub ↗
(controller, trailers)

Source from the content-addressed store, hash-verified

439 }
440
441 onResponseEnd (controller, trailers) {
442 this.#writeStream?.end()
443 this.#handler.onResponseEnd?.(controller, trailers)
444 }
445
446 onResponseError (controller, err) {
447 this.#writeStream?.destroy(err)

Callers

nothing calls this directly

Calls 2

onResponseEndMethod · 0.65
endMethod · 0.45

Tested by

no test coverage detected