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

Method write

deps/npm/lib/utils/display.js:508–516  ·  view source on GitHub ↗
(write)

Source from the content-addressed store, hash-verified

506 // If we are currently rendering the spinner we clear it before writing our line and then re-render the spinner after.
507 // If not then all we need to do is write the line.
508 write (write) {
509 if (this.#spinning) {
510 this.#clearSpinner()
511 }
512 write()
513 if (this.#spinning) {
514 this.#render()
515 }
516 }
517
518 #render (resuming) {
519 if (!this.#rendering) {

Callers 8

#writeMethod · 0.45
#renderFrameMethod · 0.45
loadMethod · 0.45
LogFilesClass · 0.45
dumpScriptFunction · 0.45
ExitHandlerClass · 0.45
mockAddUserFunction · 0.45
mockLoginFunction · 0.45

Calls 3

#clearSpinnerMethod · 0.95
#renderMethod · 0.95
writeFunction · 0.50

Tested by

no test coverage detected