MCPcopy Create free account
hub / github.com/nodejs/node / off

Method off

deps/npm/lib/utils/display.js:196–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 }
195
196 off () {
197 process.off('log', this.#logHandler)
198 this.#logState.buffer.length = 0
199 process.off('output', this.#outputHandler)
200 this.#outputState.buffer.length = 0
201 process.off('input', this.#inputHandler)
202 this.#progress.off()
203 this.#seenNotices.clear()
204 }
205
206 get chalk () {
207 return {

Callers 2

mockDisplayFunction · 0.95
DisplayClass · 0.45

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected