Hi, List

After searched some dos, I am still not sure about how to write stable 
event handler for WritableStream.  I want to ask, after the 'error' event, 
still the 'finish' event be emitted anyway? Because I have to call my 
callback function after end of writing a file, I need to ensure my callback 
will be always called and called only once.

BTW: the WritableStream I mentioned was an instance created via 
fs.createWritableStream(filename).

Thanks in advance!
-woody

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/effd8043-a606-4103-b192-4676cfaeb5f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to