MCPcopy
hub / github.com/fastify/fastify / onAborted

Function onAborted

lib/server.js:53–56  ·  lib/server.js::onAborted
()

Source from the content-addressed store, hash-verified

51 return this.close()
52 } else {
53 const onAborted = () => {
54 this[kState].aborted = true
55 this.close()
56 }
57 listenOptions.signal.addEventListener(class="st">'abort', onAborted, { once: true })
58 }
59 }

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected