doc: util.pump is deprecated. Use Stream.pipe
Conflicts: doc/api/util.markdown
This commit is contained in:
parent
2f7e0f2da6
commit
0414e14702
@ -170,7 +170,7 @@ Returns `true` if the given "object" is an `Error`. `false` otherwise.
|
||||
|
||||
## util.pump(readableStream, writableStream, [callback])
|
||||
|
||||
**Deprecated**
|
||||
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…
x
Reference in New Issue
Block a user