diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 902cb883aeec92..d1fa23260f178f 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -391,6 +391,7 @@ napi_status napi_set_instance_data(napi_env env, * `[in] data`: The data item to make available to bindings of this instance. * `[in] finalize_cb`: The function to call when the environment is being torn down. The function receives `data` so that it might free it. + [`napi_finalize`][] provides more details. * `[in] finalize_hint`: Optional hint to pass to the finalize callback during collection. @@ -597,6 +598,7 @@ minimum lifetimes explicitly. For more details, review the [Object lifetime management][]. ### N-API callback types + #### napi_callback_info