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

Method getViewModel

valdi/src/valdi/runtime/Context/Context.cpp:214–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214Shared<ValueConvertible> Context::getViewModel() const {
215 std::lock_guard<Mutex> guard(_mutex);
216 return _viewModel;
217}
218
219void Context::markUpdateCompleted(ContextUpdateId updateId, std::unique_lock<Mutex>& guard) {
220 std::vector<Ref<ValueFunction>> updateCompletedCallbacks;

Callers 1

TEST_PFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.64