Files
node/doc/api
Stephen Belanger 312476cb84 async_hooks: add using scopes to AsyncLocalStorage
Adds support for using scope = storage.withScope(data) to do
the equivalent of a storage.run(data, fn) with using syntax.
This enables avoiding unnecessary closures.

PR-URL: https://github.com/nodejs/node/pull/61674
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-03-31 10:46:04 +02:00
..
2026-03-10 20:20:07 +01:00
2026-03-30 17:20:29 +02:00
2025-07-15 17:18:42 +00:00
2024-11-01 03:43:53 +00:00
2026-03-30 17:20:29 +02:00
2026-02-19 11:14:04 +01:00
2026-02-23 20:31:15 +01:00
2025-11-10 13:30:11 +01:00
2026-01-13 10:04:48 -03:00
2026-02-19 11:13:44 +01:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2026-03-28 18:14:04 +01:00
2026-03-02 20:26:25 +00:00
2026-02-23 20:31:15 +01:00
2025-06-09 23:45:29 +02:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2026-01-26 13:45:30 +01:00
2026-03-30 17:20:26 +02:00
2026-01-13 10:04:48 -03:00