MCPcopy Create free account
hub / github.com/nodejs/node / #endStream

Method #endStream

deps/npm/lib/utils/log-file.js:97–102  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

95 }
96
97 #endStream (output) {
98 if (this.#logStream && !this.#isBuffered) {
99 this.#logStream.end(output)
100 this.#logStream = null
101 }
102 }
103
104 #logHandler = (level, ...args) => {
105 // Ignore pause and resume events since we write everything to the log file

Callers 2

offMethod · 0.95
LogFilesClass · 0.95

Calls 1

endMethod · 0.45

Tested by

no test coverage detected