MCPcopy Create free account
hub / github.com/Snapchat/Valdi / callFunction

Function callFunction

valdi/test/integration/JSIntegrationTestsUtils.cpp:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15Valdi::Result<Valdi::Value> callFunction(const Ref<ValueFunction>& function, const std::vector<Value>& params) {
16 return function->call(ValueFunctionFlagsCallSync, params.data(), params.size());
17}
18
19Valdi::Result<Valdi::Value> callFunction(const Ref<ValueFunction>& function) {
20 return callFunction(function, {});

Callers 1

TEST_PFunction · 0.85

Calls 3

callMethod · 0.65
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected