I used var writeStream = fs.createWriteStream('...')
to open a WriteStream, but there is no writeStream.close()
function. How is this handled in node?
Call stream.end()
http://nodejs.org/api/stream.html#stream_stream_end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With