On Tuesday, July 2, 2013 3:59:48 AM UTC-4, Raynos wrote:
>
> `"close"` event is not part of the stream API. It's generally used by 
> _readable_ streams that may close some underlying resources, but it's 
> optional.
>
>
Actually, that is incorrect:

http://www.nodejs.org/api/stream.html#stream_event_error_1

It is used on writable streams.  But since the OP was talking about writing 
to a file, it is guaranteed to be fired.


-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to