Browse Source

doc: util.pump is deprecated. Use Stream.pipe

v0.8.7-release
isaacs 13 years ago
parent
commit
4ff56aa15e
  1. 2
      doc/api/util.markdown

2
doc/api/util.markdown

@ -147,7 +147,7 @@ Returns `true` if the given "object" is an `Error`. `false` otherwise.
## util.pump(readableStream, writableStream, [callback])
Experimental
Stability: 0 - Deprecated: Use readableStream.pipe(writableStream)
Read the data from `readableStream` and send it to the `writableStream`.
When `writableStream.write(data)` returns `false` `readableStream` will be

Loading…
Cancel
Save