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

Method resume

lib/internal/readline/interface.js:577–586  ·  view source on GitHub ↗

* Resumes the `input` stream if paused. * @returns {void | Interface}

()

Source from the content-addressed store, hash-verified

575 * @returns {void | Interface}
576 */
577 resume() {
578 if (this.closed) {
579 throw new ERR_USE_AFTER_CLOSE('readline');
580 }
581 if (!this.paused) return;
582 this.input.resume();
583 this.paused = false;
584 this.emit('resume');
585 return this;
586 }
587
588 /**
589 * Writes either `data` or a `key` sequence identified by

Callers 3

promptMethod · 0.95
writeMethod · 0.95
[kTabComplete]Method · 0.95

Calls 2

resumeMethod · 0.65
emitMethod · 0.45

Tested by

no test coverage detected