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

Function NAN_METHOD

test/cpp/weak2.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42NAN_METHOD(Hustle) {
43 async_resource = new AsyncResource("nan:test:weak2");
44 cb.Reset(To<v8::Function>(info[0]).ToLocalChecked());
45 info.GetReturnValue().Set(wrap());
46}
47
48NAN_MODULE_INIT(Init) {
49 Set(target

Callers

nothing calls this directly

Calls 5

ToLocalCheckedMethod · 0.80
wrapFunction · 0.70
ResetMethod · 0.45
SetMethod · 0.45
GetReturnValueMethod · 0.45

Tested by

no test coverage detected