Browse files

through and duplex definitions

  • Loading branch information...
1 parent e3b3edf commit df2062134f8e722101f3a446c68f859fd2c992ad @substack committed Sep 18, 2012
Showing with 10 additions and 4 deletions.
  1. +10 −4 readme.markdown
@@ -229,17 +229,23 @@ piping to your intended destination.
Writable streams
-## duplex
-Duplex streams are just streams that are both readable and writable.
## pipe
`.pipe()` is the only member function of the built-in `Stream` prototype.
`.pipe(target)` returns the destination stream, `target`.
This means you can chain `.pipe()` calls together like in the shell with `|`.
+## through
+Through streams are simple readable/writable filters that transform input and
+produce output.
+## duplex
+Duplex streams are readable/writable and both ends of the stream engage
+in a two-way interaction, sending back and forth messages like a telephone.
### pause / resume / drain
## backpressure

0 comments on commit df20621

Please sign in to comment.