Stream.pipe(destinationStream) should return destinationStream #1303

Closed
wants to merge 3 commits into
from

Projects

None yet

5 participants

@felixge
felixge commented Jul 11, 2011

LGTM. +1. Not sure if 0.4 or master so.

@tj
tj commented Jul 11, 2011

yes please!

@slaskis
slaskis commented Jul 13, 2011

Simple, yet brilliant

@isaacs isaacs added a commit that closed this pull request Jul 14, 2011
@tmpvar @isaacs tmpvar + isaacs Close #1303 Stream.pipe returns the destination
Squashed:

* Simple change to make Stream.pipe(destination) return the destination Stream
* Test: ensure Stream.pipe(destination) returns the destination Stream
* updated Stream.pipe() documentation to reflect that it now returns the
  destination stream
b722aaa
@isaacs isaacs closed this in b722aaa Jul 14, 2011
@isaacs
isaacs commented Jul 14, 2011

Pushed into master. Thanks, @tmpvar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment