node/lib
Andrey Pechkurov 6510a741c4 async_hooks: add store arg in AsyncLocalStorage
This commit introduces store as the first argument in
AsyncLocalStorage's run methods. The change is motivated by the
following expectation: most users are going to use a custom object
as the store and an extra Map created by the previous implementation
is an overhead for their use case.

Important note. This is a backwards incompatible change.
It was discussed and agreed an incompatible change is ok
since the API is still experimental and the modified
methods were only added within the last week so usage
will be minimal to none.

PR-URL: https://github.com/nodejs/node/pull/31930
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2020-02-27 15:00:23 -05:00
..
fs fs: add fs/promises alias module 2020-02-18 22:15:50 -08:00
internal stream: ensure pipeline always destroys streams 2020-02-26 23:48:14 +01:00
_http_agent.js
_http_client.js http: make --insecure-http-parser configurable per-stream or per-server 2020-01-24 17:54:23 +01:00
_http_common.js
_http_incoming.js stream: make readable & writable computed 2020-02-08 23:23:12 +01:00
_http_outgoing.js http: move OutboundMessage.prototype.flush to EOL 2020-02-24 08:46:37 -08:00
_http_server.js http: make --insecure-http-parser configurable per-stream or per-server 2020-01-24 17:54:23 +01:00
_stream_duplex.js stream: make readable & writable computed 2020-02-08 23:23:12 +01:00
_stream_passthrough.js
_stream_readable.js stream: finished callback for closed streams 2020-02-08 23:34:40 +01:00
_stream_transform.js
_stream_wrap.js
_stream_writable.js stream: throw invalid argument errors 2020-02-25 12:07:30 +01:00
_tls_common.js
_tls_wrap.js tls: expose SSL_export_keying_material 2020-02-23 01:21:04 -04:00
.eslintrc.yaml lib: replace BigInt64Array global by the primordials 2020-01-13 12:42:21 +01:00
assert.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
async_hooks.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
buffer.js buffer: improve from() performance 2020-02-08 21:40:49 -05:00
child_process.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
cluster.js
console.js
constants.js
crypto.js crypto: add crypto.diffieHellman 2020-01-21 10:49:20 -04:00
dgram.js
dns.js
domain.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
events.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
fs.js fs: validate the input data to be of expected types 2020-02-05 13:39:53 +01:00
http2.js
http.js
https.js
inspector.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
module.js module: add API for interacting with source maps 2020-01-14 12:39:06 -08:00
net.js net: track state of setNoDelay() and prevent unnecessary system calls 2020-02-03 15:15:24 -08:00
os.js os: move tmpDir() to EOL 2020-02-05 17:50:42 -08:00
path.js
perf_hooks.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -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 lib: replace Set global by the primordials 2020-01-04 12:41:09 -08:00
tty.js
url.js
util.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
v8.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
vm.js vm: implement vm.measureMemory() for per-context memory measurement 2020-02-26 17:52:39 +08:00
wasi.js wasi: improve use of primordials 2020-01-07 21:49:20 -05:00
worker_threads.js
zlib.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00