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

Method forceBindAttributes

valdi/src/valdi/runtime/RuntimeManager.cpp:381–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 }
380}
381
382void RuntimeManager::forceBindAttributes(const StringBox& className) {
383 // Will lazily trigger the binding attributes if needed.
384 auto viewManagerContexts = _viewManagerContexts;
385
386 _workerQueue->async([viewManagerContexts, className]() {
387 for (const auto& viewManagerContext : viewManagerContexts) {
388 viewManagerContext->getAttributesManager().getAttributesForClass(className);
389 }
390 });
391}
392
393std::vector<SharedRuntime> RuntimeManager::getAllRuntimes() {

Callers

nothing calls this directly

Calls 2

asyncMethod · 0.45
getAttributesForClassMethod · 0.45

Tested by

no test coverage detected