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

Function InitCallbackScope

test/callbackscope.cc:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30} // namespace
31
32Object InitCallbackScope(Env env) {
33 Object exports = Object::New(env);
34 exports["runInCallbackScope"] = Function::New(env, RunInCallbackScope);
35 exports["runInPreExistingCbScope"] =
36 Function::New(env, RunInCallbackScopeFromExisting);
37 return exports;
38}
39#endif

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected