* Resumes the `input` stream if paused. * @returns {void | Interface}
()
| 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 |
no test coverage detected