premature send...
//assume var originalOutputStreamvar originalEnd =
originalOutputStream.endoriginalOutputStream.end = function(data) {
originalOutputStream.write(data); originalOutputStream.write(finalData);
originalEnd.call(originalOutputStream);}
From: [email protected]
To: [email protected]
Subject: RE: [nodejs] Appending one more chunk to the end of a stream.
Date: Wed, 31 Jul 2013 18:01:51 +0000
Couldn't you override the end() method to push your last chunk, then call the
original end?
Date: Wed, 31 Jul 2013 10:54:44 -0700
From: [email protected]
To: [email protected]
Subject: [nodejs] Appending one more chunk to the end of a stream.
Been sitting on this one for awhile and can't seem to figure it out or find
anyone that has a solution.
I just need to append one more chunk to the end of a stream. At first, I
thought I was successful using the "through" module, but for some reason, it
kept appending the new chunk in the middle of the stream.
Any direction would be helpful, thanks.
--
--
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.
--
--
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.
--
--
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.