Closed
Description
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?