diff options
author | Robert Nagy <ronagy@icloud.com> | 2020-03-25 02:43:18 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2020-03-26 21:48:57 +0300 |
commit | 56da8dfd8682af326d82cc015c4056513d8b67ed (patch) | |
tree | 03830a5e4d18ad896e29dfb6ebd4355a94c4791f /doc/api/cli.md | |
parent | deab08bc4e3a684b5405995f89a3170e03eeae89 (diff) |
stream: emit 'pause' on unpipe
unpipe should use pause() instead of mutating
state.flowing directly so that pausing side
effects such as emitting 'pause' are properly
performed.
Fixes: https://github.com/nodejs/node/issues/32470
PR-URL: https://github.com/nodejs/node/pull/32476
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc/api/cli.md')
0 files changed, 0 insertions, 0 deletions