0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-25 08:19:38 +01:00
nodejs/lib
Stephen Belanger d368dcc63a async_hooks: add sync enterWith to ALS
This allows transitioning the entire following sync and async execution
sub-tree to the given async storage context. With this one can be sure
the context binding will remain for any following sync activity and all
descending async execution whereas the `run*(...)` methods must wrap
everything that is intended to exist within the context. This is helpful
for scenarios such as prepending a `'connection'` event to an http
server which binds everything that occurs within each request to
the given context. This is helpful for APMs to minimize the need
for patching and especially adding closures.

PR-URL: https://github.com/nodejs/node/pull/31945
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2020-03-09 14:24:21 -04:00
..
fs fs: add fs/promises alias module 2020-02-18 22:15:50 -08:00
internal stream: don't destroy final readable stream in pipeline 2020-03-08 10:54:11 +01:00
_http_agent.js http: fix socket re-use races 2020-03-07 20:51:12 +01:00
_http_client.js
_http_common.js
_http_incoming.js stream: make readable & writable computed 2020-02-08 23:23:12 +01:00
_http_outgoing.js http,stream: make virtual methods throw an error 2020-03-07 07:27:02 +01:00
_http_server.js
_stream_duplex.js stream: make readable & writable computed 2020-02-08 23:23:12 +01:00
_stream_passthrough.js
_stream_readable.js http,stream: make virtual methods throw an error 2020-03-07 07:27:02 +01:00
_stream_transform.js http,stream: make virtual methods throw an error 2020-03-07 07:27:02 +01:00
_stream_wrap.js
_stream_writable.js http,stream: make virtual methods throw an error 2020-03-07 07:27:02 +01:00
_tls_common.js
_tls_wrap.js stream: fix multiple destroy calls 2020-02-29 09:34:43 +01:00
.eslintrc.yaml
assert.js
async_hooks.js async_hooks: add sync enterWith to ALS 2020-03-09 14:24:21 -04:00
buffer.js buffer: improve from() performance 2020-02-08 21:40:49 -05:00
child_process.js
cluster.js
console.js
constants.js
crypto.js
dgram.js lib: move isLegalPort to validators, refactor 2020-03-05 11:52:53 -08:00
dns.js lib: move isLegalPort to validators, refactor 2020-03-05 11:52:53 -08:00
domain.js
events.js events: fix removeListener for Symbols 2020-03-07 10:47:12 -08:00
fs.js fs: fix valid id range on chown, lchown, fchown 2020-03-09 12:37:29 +01:00
http2.js
http.js
https.js
inspector.js
module.js
net.js lib: move isLegalPort to validators, refactor 2020-03-05 11:52:53 -08:00
os.js src: create a getter for kernel version 2020-03-09 12:44:16 +01:00
path.js
perf_hooks.js perf,src: add HistogramBase and internal/histogram.js 2020-03-02 11:01:00 -08:00
process.js
punycode.js
querystring.js
readline.js readline: remove intermediate variable 2020-02-09 11:06:07 -05:00
repl.js repl: eager-evaluate input in parens 2020-02-26 21:10:36 -08:00
stream.js
string_decoder.js
sys.js
timers.js
tls.js
trace_events.js
tty.js
url.js
util.js
v8.js
vm.js vm: implement vm.measureMemory() for per-context memory measurement 2020-02-26 17:52:39 +08:00
wasi.js wasi: add returnOnExit option 2020-03-08 11:05:23 -04:00
worker_threads.js
zlib.js