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

Method loadModule

valdi/test/integration/RuntimeTestsUtils.cpp:220–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220Valdi::Result<Valdi::Void> RuntimeWrapper::loadModule(const Valdi::StringBox& bundleName,
221 Valdi::ResourceManagerLoadModuleType loadType) {
222 auto resultHolder = ResultHolder<Valdi::Void>::make();
223
224 runtime->getResourceManager().loadModuleAsync(bundleName, loadType, resultHolder->makeCompletion());
225
226 return resultHolder->waitForResult();
227}
228
229} // namespace ValdiTest

Callers

nothing calls this directly

Calls 3

loadModuleAsyncMethod · 0.80
makeCompletionMethod · 0.80
waitForResultMethod · 0.80

Tested by

no test coverage detected