node/lib/internal/streams
Robert Nagy f663b31cc2 stream: always invoke callback before emitting error
Ensure the callback is always invoked before emitting
the error in both sync and async case.

PR-URL: https://github.com/nodejs/node/pull/29293
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-09-30 10:56:29 -07:00
..
async_iterator.js stream: make finished call the callback if the stream is closed 2019-09-03 10:28:48 +02:00
buffer_list.js stream: improve read() performance 2019-08-30 23:39:26 -04:00
destroy.js stream: always invoke callback before emitting error 2019-09-30 10:56:29 -07:00
duplexpair.js tls: make deprecated tls.createSecurePair() use public API 2018-01-14 14:49:41 +01:00
end-of-stream.js stream: remove ambiguous code 2019-09-29 18:42:55 +09:00
lazy_transform.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
legacy.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
pipeline.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
state.js http: buffer writes even while no socket assigned 2019-08-09 15:55:35 -07:00