close event (Readline)

Event: 'close'

function () {}

Emitted when close() is called.

Also emitted when the input stream receives its 'end' event. The Interface instance should be considered "finished" once this is emitted. For example, when the input stream receives ^D, respectively known as EOT.

This event is also called if there is no SIGINT event listener present when the input stream receives a ^C, respectively known as SIGINT.

doc_Nodejs
2016-04-30 04:38:11
Comments
Leave a Comment

Please login to continue.