dominictarr / through

simple way to create a ReadableWritable stream that works
Other
670 stars 64 forks source link

support node stream callbacks to default write and end #36

Closed shaunc closed 9 years ago

shaunc commented 9 years ago

Of course, we can pass these in, but why not support by default?

shaunc commented 9 years ago

Oops: this isn't how this should be done, I guess. You have probably want to keep cruft out of the user-definable functions and rather handle in class interface. If you're interested I can submit a better PR.