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

Method getObservable

valdi/src/valdi/runtime/Resources/ManagedAsset.cpp:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16ManagedAsset::~ManagedAsset() = default;
17
18Shared<ObservableAsset> ManagedAsset::getObservable() const {
19 return _observable.lock();
20}
21
22void ManagedAsset::setObservable(const Shared<ObservableAsset>& observable) {
23 _observable = observable;

Callers 5

TESTFunction · 0.80
lockFreeGetAssetMethod · 0.80
onAssetCatalogChangedMethod · 0.80
notifyAssetConsumerMethod · 0.80

Calls 1

lockMethod · 0.45

Tested by 1

TESTFunction · 0.64