MCPcopy Index your code
hub / github.com/nodejs/node / destroy

Method destroy

lib/internal/streams/fast-utf8-stream.js:327–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 }
326
327 destroy() {
328 if (this.#destroyed) {
329 return;
330 }
331 this.#actualClose();
332 }
333
334 /** @type {number} */
335 get mode() { return this.#mode; }

Callers 15

[SymbolDispose]Method · 0.95
runTestsFunction · 0.95
runTestsFunction · 0.95
finishFunction · 0.45
writable.jsFile · 0.45
oncloseFunction · 0.45
_destroyMethod · 0.45
errorOrDestroyFunction · 0.45
destroyerFunction · 0.45
nextSyncWithSyncValuesFunction · 0.45
changeToAsyncValuesFunction · 0.45

Calls 1

#actualCloseMethod · 0.95

Tested by

no test coverage detected