Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created March 27, 2015 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/c99d31735299b101c7cc to your computer and use it in GitHub Desktop.
Save tmcw/c99d31735299b101c7cc to your computer and use it in GitHub Desktop.
var combinedChain = readablestream
.pipe(transform1)
// if transform2 emits an 'error', it doesn't
// move down the chain, but exits the application.
.pipe(transform2)
.pipe(transform3)
.pipe(transform4);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment