I didn't notice that `'close'` was added to the stream interface. Nice.
On Tue, Jul 2, 2013 at 6:31 AM, Rusty Conover <write.to.ru...@gmail.com>wrote: > > 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 nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > 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 nodejs+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com 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 nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.