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

Method loadModuleAsync

valdi/src/valdi/runtime/Resources/ResourceManager.cpp:480–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478 _seenComponentPaths.insert(componentPathString);
479 }
480
481 // Attempt to perform some load operations while other operations are ongoing.
482 _workerQueue->async([self = strongSmallRef(this), componentPath = componentPath, componentPathString]() {
483 VALDI_TRACE_META("Valdi.preloadForComponentPath", componentPathString);
484 auto bundle = self->getBundle(componentPath.getResourceId().bundleName);
485 if (!bundle->hasModuleLoadStrategy()) {
486 return;
487 }

Callers 3

loadModuleMethod · 0.80
loadModuleMethod · 0.80
runtimeLoadModuleMethod · 0.80

Calls 3

loadModuleAsyncInnerMethod · 0.95
strongSmallRefFunction · 0.85
asyncMethod · 0.45

Tested by 1

loadModuleMethod · 0.64