Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NAN_MODULE_WORKER_ENABLED macro as a replacement for NAN_MODULE t…
…hat supports multiple workers (#792) * Add NAN_MODULE_WORKER_ENABLED macro as a replacement for NAN_MODULE that supports multiple workers Uses the named symbol node_register_module_v## variant of registration that works on node 10.5 with --experimental-workers. May need updating in the future if node requires native modules to explicitly opt in to multiple isolate support.
- Loading branch information