…ction is in place
…passes in an async callback function Fixes the failing async test case.
I already know what the problem is... I'm just committing this first to verify.
…rflows on synchronous parsers I'm gonna need to do some more testing with this, but I'm pretty sure it's close to correct. I *think* I can break it by doing a combination of async and sync reads, but I'll play around with that later. For now, all the tests pass! Closes #3.
causes error on <= v0.8.x node: TypeError: Object [object Object] has no method 'end' at onread (/home/travis/build/TooTallNate/node-stream-parser/node_modules/readable-stream/lib/_stream_readable.js:242:29) /cc @isaacs