Stdout flush for NodeJS?

Is there any stdout flush for nodejs just like python or other languages?

sys.stdout.write('some data')

sys.stdout.flush()

Right now I only saw process.stdout.write() for nodejs.

process.stdout is a Stream object, and the method Stream.write() automatically flushes the stream. However, it will return true if the flush was successful, and false if the kernel buffer was full and it can't write yet. If you need to write several times in succession, you should handle the 'drain' event. http://nodejs.org/api/stream.html#stream_stream_write_string_encoding_fd

write returns true if the data has been flushed. If it returns false, you can wait for the 'drain' event.

I think there is no flush, because that would be a blocking operation.