Skip to content

Use AsyncLocalStorage instead of Domain in Node 14+ #13

@toddhgardner

Description

@toddhgardner

Instead of the deprectated domain concept, in Node v14+ we can store our agent instance in the asyncLocalStorage object.

https://nodejs.org/api/async_hooks.html#async_hooks_class_asynclocalstorage

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions