MCPcopy Create free account
hub / github.com/Tracktion/tracktion_engine / invoke

Method invoke

modules/3rd_party/choc/javascript/choc_javascript.h:263–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261inline Context& Context::operator= (Context&&) = default;
262
263inline choc::value::Value Context::invoke (std::string_view functionName)
264{
265 CHOC_ASSERT (pimpl != nullptr); // cannot call this on a moved-from context!
266 pimpl->prepareForCall (functionName, 0);
267 return pimpl->performCall();
268}
269
270template <typename... Args>
271choc::value::Value Context::invoke (std::string_view functionName, Args&&... args)

Callers 3

setTimeoutMethod · 0.80
setIntervalMethod · 0.80
testJavascriptPlatformFunction · 0.80

Calls 3

prepareForCallMethod · 0.80
performCallMethod · 0.80
pushArgMethod · 0.45

Tested by 1

testJavascriptPlatformFunction · 0.64