jahewson/node-byline — pull request #3 by justmoon (2012-07-25 13:24:50+00:00)
Title: Fix a parallelization bug and add pause()/resume() methods

Sorry to combine these two commits into one pull request.

First commit is a simple bugfix: The library currently overwrites it's prototype in the constructor, which means that the self variable always points to the most recently created LineStream. If you try to use more than one LineStream at the same time, they would share a buffer and other weirdness would be happening.

The second commit adds pause and resume methods to the stream and adds documentation for these in the README.

Enjoy and thanks for a great little library. :+1: