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