node-addon-api icon indicating copy to clipboard operation
node-addon-api copied to clipboard

src: add support for nogc types via `NogcEnv`

Open KevinEady opened this issue 1 year ago • 8 comments

  • Introduce Napi::NogcEnv class, taking the place of Napi::Env in finalizer callbacks.
  • Introduce void Napi::NogcEnv::AddPostFinalizer() and overloads.
  • Modify tests to support above changes

TODO:

  • [ ] docs
  • [ ] discuss implementation, namings, etc
  • [x] wait for #1409 to land, and incorporate changes

KevinEady avatar Jun 06 '24 12:06 KevinEady