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

Method dispatchSync

valdi/src/valdi/runtime/Utils/MainThreadManager.cpp:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void MainThreadManager::dispatchSync(const Ref<Context>& context, DispatchFunction function) {
57 doDispatch(context, std::move(function), true);
58}
59
60void MainThreadManager::doDispatch(const Ref<Context>& context, DispatchFunction&& function, bool sync) {
61 if (_tornDown) {

Callers 1

flushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected