MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / CallWithInitList

Function CallWithInitList

test/function_reference.cc:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54Value CallWithInitList(const CallbackInfo& info) {
55 EscapableHandleScope scope(info.Env());
56 FunctionReference ref;
57 ref.Reset(info[0].As<Function>());
58
59 return scope.Escape(MaybeUnwrap(ref.Call({info[1], info[2], info[3]})));
60}
61
62Value CallWithRecvInitList(const CallbackInfo& info) {
63 EscapableHandleScope scope(info.Env());

Callers

nothing calls this directly

Calls 5

MaybeUnwrapFunction · 0.85
EnvMethod · 0.80
ResetMethod · 0.80
EscapeMethod · 0.80
CallMethod · 0.80

Tested by

no test coverage detected