MCPcopy Create free account
hub / github.com/nodejs/nan / NAN_MODULE_INIT

Function NAN_MODULE_INIT

test/cpp/asyncprogressworkersignal.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59NAN_MODULE_INIT(Init) {
60 Set(target
61 , New<v8::String>("a").ToLocalChecked()
62 , GetFunction(New<v8::FunctionTemplate>(DoProgress)).ToLocalChecked());
63}
64
65NODE_MODULE(asyncprogressworkersignal, Init)

Callers

nothing calls this directly

Calls 3

ToLocalCheckedMethod · 0.80
SetFunction · 0.50
GetFunctionFunction · 0.50

Tested by

no test coverage detected