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

Method run

choc/javascript/choc_javascript.h:314–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314inline void Context::run (const std::string& javascriptCode, CompletionHandler handleResult)
315{
316 CHOC_ASSERT (pimpl != nullptr); // cannot call this on a moved-from context!
317 pimpl->run (javascriptCode, nullptr, std::move (handleResult));
318}
319
320inline void Context::runModule (const std::string& moduleCode, ReadModuleContentFn readModule, CompletionHandler handleResult)
321{

Callers 5

registerConsoleFunctionsFunction · 0.45
registerTimerFunctionsFunction · 0.45
runModuleMethod · 0.45
testJavascriptPlatformFunction · 0.45
TestClientMethod · 0.45

Calls

no outgoing calls

Tested by 2

testJavascriptPlatformFunction · 0.36
TestClientMethod · 0.36