Skip to content

stream: finished should invoke callback for closed streams

Rodrigo Muino Tomonari requested to merge github/fork/nxtedition/eos-closed into master

Previously finished(stream, cb) would not invoke the callback for streams that have already finished, ended or errored before being passed to finished(stream, cb).

Ref: https://github.com/nodejs/node/pull/31508 Ref: https://github.com/nodejs/node/pull/31314#issuecomment-578397279

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading