Files
node/test/parallel
Stephen Belanger b12bcc9ae1 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
Backport-PR-URL: https://github.com/nodejs/node/pull/65291
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2026-08-21 09:07:54 +02:00
..
2026-08-13 11:13:40 +02:00