Hi Santiago,

This is very similar to the starting point of my ez-streams library. The 
difference is that I'm passing an error parameter to the callback and that I 
called the method read rather than next.

Next step is to treat it as a monad and decorate it with an array-like API (but 
async) and other goodies.

See https://github.com/Sage/ez-streams for details.

Bruno

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/5ac9d1d1-b030-4a96-b938-b15d8e618fdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to