Skip to content

Proposal: Making AsyncLocalStorage a globalΒ #58038

@jasnell

Description

@jasnell

Adding new globals, especially non-standard ones, should always be carefully considered and weighed.

That said, I want to propose that we make AsyncLocalStorage a global in Node.js in order to better separate it conceptually from the async_hook API and generally just encourage it's use more.

@nodejs/tsc @nodejs/async_hooks @Qard @mcollina

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions