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.
Please login to continue.