How Error Events Affect Piped Streams In Node.js

added by JavaScript Kicks
9/4/2014 2:42:18 PM

587 Views

Over the weekend, I demonstrated that "error" events don't have any inherent affect on how individual Streams work in Node.js. In that post, I stressed that I was talking about "individual" streams because multi-stream workflows, that use .pipe(), are somewhat affected by "error" events. The "error" still doesn't affect the individual streams; but, Node.js will unpipe the streams depending on the source of the error.


0 comments