Matteo Collina
|
648088289d
|
stream: make all streams error in a pipeline
This changes makes all stream in a pipeline emit 'error' in
case of an abnormal termination of the pipeline. If the last stream
is currently being async iterated, this change will make the iteration
reject accordingly.
See: https://github.com/nodejs/node/pull/30861
Fixes: https://github.com/nodejs/node/issues/28194
PR-URL: https://github.com/nodejs/node/pull/30869
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
|
2019-12-14 16:16:34 +01:00 |
|