Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
- Remove discussions about NAPI-EXPERIMENTAL.
  • Loading branch information
KevinEady committed Jul 25, 2024
1 parent c433dbd commit 16bca96
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions doc/finalization.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ provide optimizations, improved execution, or other benefits.
In general, it is best to use basic finalizers whenever possible (eg. when
access to JavaScript is _not_ needed).

*NOTE*: Optimizations via basic finalizers will only occur if using
`NAPI_EXPERIMENTAL` and the `NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT` define flag
has _not_ been set. Otherwise, the engine will not differentiate between basic
and (extended) finalizers.

## Finalizers

The callback takes `Napi::Env` as its first argument:
Expand Down

0 comments on commit 16bca96

Please sign in to comment.