0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/lib
Calvin Metcalf ba513d140c
stream: add final method
Adds the ability to for write streams to have an _final method which acts
similarly to the _flush method that transform streams have but is called before
the finish event is emitted and if asynchronous delays the stream from
finishing.  The `final` option may also be passed in order to set it.

PR-URL: https://github.com/nodejs/node/pull/12828
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
2017-05-24 13:11:01 -04:00
..
internal dgram: convert to using internal/errors 2017-05-24 10:16:46 -04:00
_http_agent.js lib: implement async_hooks API in core 2017-05-10 22:22:29 +02:00
_http_client.js http: fix IPv6 Host header check 2017-05-22 23:04:33 -04:00
_http_common.js lib: implement async_hooks API in core 2017-05-10 22:22:29 +02:00
_http_incoming.js tools: ignore URLs in line length linting 2017-03-20 18:28:40 -07:00
_http_outgoing.js lib: implement async_hooks API in core 2017-05-10 22:22:29 +02:00
_http_server.js http: avoid retaining unneeded memory 2017-03-22 10:26:02 -07:00
_stream_duplex.js stream: add destroy and _destroy methods. 2017-05-22 08:34:14 +02:00
_stream_passthrough.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
_stream_readable.js stream: improve readable push performance 2017-05-23 20:50:22 +02:00
_stream_transform.js stream: improve multiple callback error message 2017-05-22 11:54:53 -04:00
_stream_wrap.js stream: avoid using forEach 2017-03-17 11:09:10 -07:00
_stream_writable.js stream: add final method 2017-05-24 13:11:01 -04:00
_tls_common.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
_tls_legacy.js test,lib,doc: use function declarations 2017-05-01 15:56:58 -07:00
_tls_wrap.js tls: accept lookup option for tls.connect() 2017-05-15 17:25:44 -04:00
.eslintrc.yaml
assert.js errors: AssertionError moved to internal/error 2017-05-23 07:43:53 -07:00
async_hooks.js async_hooks: add constructor check to async-hooks 2017-05-21 22:04:15 +02:00
buffer.js buffer: fix indexOf for empty searches 2017-05-18 23:16:40 +02:00
child_process.js child_process: support promisified exec(File) 2017-05-09 15:01:45 +02:00
cluster.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
console.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
constants.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
crypto.js test,lib,doc: use function declarations 2017-05-01 15:56:58 -07:00
dgram.js dgram: convert to using internal/errors 2017-05-24 10:16:46 -04:00
dns.js dns: support promisified lookup(Service) 2017-05-09 15:01:46 +02:00
domain.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
events.js events: remove unreachable code 2017-04-21 13:09:49 -04:00
fs.js lib: lazy instantiation of fs.Stats dates 2017-05-23 09:51:38 -04:00
http.js http: use more efficient module.exports pattern 2017-03-20 16:01:31 -07:00
https.js http,https: avoid instanceof for WHATWG URL 2017-05-22 18:07:27 -04:00
inspector.js inspector: JavaScript bindings for the inspector 2017-05-23 19:45:48 +02:00
module.js inspector: do not add 'inspector' property 2017-05-04 10:40:24 -07:00
net.js Revert "net: remove unnecessary process.nextTick()" 2017-05-23 13:20:03 -05:00
os.js os: refactor os structure, add Symbol.toPrimitive 2017-05-01 11:44:56 -07:00
path.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
process.js
punycode.js
querystring.js lib: use Object.create(null) directly 2017-03-24 15:25:49 -07:00
readline.js readline: move escape codes into internal/readline 2017-05-07 22:54:26 +02:00
repl.js vm: fix displayErrors in runIn.. functions 2017-05-23 20:59:24 +02:00
stream.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
string_decoder.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
sys.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
timers.js timers: do not use user object call/apply 2017-05-12 22:18:18 -07:00
tls.js tls: support Uint8Arrays for protocol list buffers 2017-03-27 02:08:49 +02:00
tty.js tty_wrap: throw when uv_tty_init() returns error 2017-05-10 22:21:53 +02:00
url.js url: move to module.exports = {} pattern 2017-04-29 10:24:18 -07:00
util.js util: add util.promisify() 2017-05-09 15:01:41 +02:00
v8.js v8: refactor struture of v8 module 2017-04-28 14:29:45 -07:00
vm.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
zlib.js zlib: fix node crashing on invalid options 2017-05-22 01:10:44 +03:00