Event: 'pause'
function () {}
Emitted whenever the input
stream is paused.
Also emitted whenever the input
stream is not paused and receives the SIGCONT
event. (See events SIGTSTP
and SIGCONT
)
Example of listening for 'pause'
:
1 2 3 | rl.on( 'pause' , () => { console.log( 'Readline paused.' ); }); |
Please login to continue.