0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/streams
Robert Nagy b03845b937 stream: make finished call the callback if the stream is closed
Make stream.finished callback invoked if stream is already
closed/destroyed.

PR-URL: https://github.com/nodejs/node/pull/28748
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2019-09-03 10:28:48 +02: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: avoid unecessary nextTick 2019-08-23 15:23:09 -07:00
duplexpair.js
end-of-stream.js stream: make finished call the callback if the stream is closed 2019-09-03 10:28:48 +02: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