0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/process
Matteo Collina 330c8d743e stream: add destroy and _destroy methods.
Adds destroy() and _destroy() methods to Readable, Writable, Duplex
and Transform. It also standardizes the behavior and the implementation
of destroy(), which has been inconsistent in userland and core.
This PR also updates all the subsystems of core to use the new
destroy().

PR-URL: https://github.com/nodejs/node/pull/12925
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2017-05-22 08:34:14 +02:00
..
next_tick.js lib: implement async_hooks API in core 2017-05-10 22:22:29 +02:00
promises.js process: cast promise rejection reason to string 2017-04-30 01:00:46 +02:00
stdio.js stream: add destroy and _destroy methods. 2017-05-22 08:34:14 +02:00
warning.js process: add optional detail to process emitWarning 2017-05-01 11:53:47 -07:00
write-coverage.js