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

Method schedulePerformUpdates

valdi/src/valdi/runtime/Resources/AssetsManager.cpp:327–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void AssetsManager::schedulePerformUpdates() {
328 _mainThreadManager.dispatch(nullptr, [self = strongSmallRef(this)]() { self->performUpdates(self->lock()); });
329}
330
331void AssetsManager::scheduleAssetUpdate(AssetsManagerTransaction& transaction, const AssetKey& assetKey) {
332 if constexpr (kEnableAssetsLogs) {

Callers

nothing calls this directly

Calls 4

performUpdatesMethod · 0.95
lockMethod · 0.95
strongSmallRefFunction · 0.85
dispatchMethod · 0.45

Tested by

no test coverage detected