On Thursday, August 29, 2013 1:45:22 PM UTC-4, Martin Lundberg wrote:
>
> In the last challenge of stream adventure what is the difference of
> creating the hash stream outside parser.on('entry', ...) inside of inside?
> When I have it outside it fails but inside it works. I first thought it
> wasn't available in the callback but it seems to be. Am I just misusing
> streams and should read stream-handbook?
>
> Here are the two different files:
>
> https://gist.github.com/marlun/6381023
>
I believe it's because you can't reuse a crypto stream like that after
pipe() has ended it.
--
--
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.