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

Function CallWithRecvInitList

test/function_reference.cc:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62Value CallWithRecvInitList(const CallbackInfo& info) {
63 EscapableHandleScope scope(info.Env());
64 FunctionReference ref;
65 ref.Reset(info[0].As<Function>());
66
67 return scope.Escape(
68 MaybeUnwrap(ref.Call(info[1], {info[2], info[3], info[4]})));
69}
70
71Value CallWithRecvVector(const CallbackInfo& info) {
72 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