function Writable.close
Closes this output stream. This drops the underlying handle, and subsequent writes will fail with “stream is closed”.
function Writable.flush
Flushes this output stream, ensuring that all intermediately buffered contents reach their destination.
function Writable.write
Writes a buffer into this writer, returning how many bytes were written.
property Writable.is_tty
Returns true if the underlying stream is connected to a terminal/tty.

