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

Method runModule

choc/javascript/choc_javascript.h:320–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320inline void Context::runModule (const std::string& moduleCode, ReadModuleContentFn readModule, CompletionHandler handleResult)
321{
322 CHOC_ASSERT (pimpl != nullptr); // cannot call this on a moved-from context!
323 pimpl->run (moduleCode, std::addressof (readModule), std::move (handleResult));
324}
325
326inline void Context::pumpMessageLoop()
327{

Callers 1

testJavascriptPlatformFunction · 0.80

Calls 1

runMethod · 0.45

Tested by 1

testJavascriptPlatformFunction · 0.64