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

Method invoke

choc/javascript/choc_javascript.h:274–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272inline Context& Context::operator= (Context&&) = default;
273
274inline choc::value::Value Context::invoke (std::string_view functionName)
275{
276 CHOC_ASSERT (pimpl != nullptr); // cannot call this on a moved-from context!
277 pimpl->prepareForCall (functionName, 0);
278 return pimpl->performCall();
279}
280
281template <typename... Args>
282choc::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