MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / AddCleanupHook

Method AddCleanupHook

napi-inl.h:7092–7094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7090#if NAPI_VERSION > 2
7091template <typename Hook, typename Arg>
7092Env::CleanupHook<Hook, Arg> BasicEnv::AddCleanupHook(Hook hook, Arg* arg) {
7093 return CleanupHook<Hook, Arg>(*this, hook, arg);
7094}
7095
7096template <typename Hook>
7097Env::CleanupHook<Hook> BasicEnv::AddCleanupHook(Hook hook) {

Callers 1

AddHooksFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected