Skip to content

Context-aware add-ons? #567

Closed
Closed
@rolftimmermans

Description

@rolftimmermans

I am reading this https://nodejs.org/api/addons.html#addons_context_aware_addons and am left wondering if node-addon-api can help making context aware native modules.

There does not seem to be a way to initialise a context-aware module with node-addon-api currently.

Additionally it seems to me that it would be nice to provide a default wrapper for per-context global state (what would normally be easily accomplished with static variables).

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions