Current
Current copied to clipboard
We really don't recommend storing the Napi::Env. You can access it from promise_.Env()
Via @KevinEady, https://github.com/nodejs/node-addon-examples/pull/182#discussion_r656616979