Browse Source

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

Conflicts:

	doc/api/util.markdown
v0.9.1-release
isaacs 13 years ago
parent
commit
0414e14702
  1. 2
      doc/api/util.markdown

2
doc/api/util.markdown

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

Loading…
Cancel
Save