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

Method onResponseEnd

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

Source from the content-addressed store, hash-verified

453 }
454
455 onResponseEnd (controller, trailers) {
456 this.#writeStream?.end()
457 this.#handler.onResponseEnd?.(controller, trailers)
458 }
459
460 onResponseError (controller, err) {
461 this.#writeStream?.destroy(err)

Callers

nothing calls this directly

Calls 2

onResponseEndMethod · 0.65
endMethod · 0.45

Tested by

no test coverage detected