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

Method dispatch

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

Source from the content-addressed store, hash-verified

50}
51
52void MainThreadManager::dispatch(const Ref<Context>& context, DispatchFunction function) {
53 doDispatch(context, std::move(function), false);
54}
55
56void MainThreadManager::dispatchSync(const Ref<Context>& context, DispatchFunction function) {
57 doDispatch(context, std::move(function), true);

Callers 14

destroyContextMethod · 0.45
setAutoRenderDisabledMethod · 0.45
receivedRenderRequestMethod · 0.45
resolveViewNodeTreeMethod · 0.45
postInitMethod · 0.45
scheduleFlushMethod · 0.45
flushMethod · 0.45
flushMethod · 0.45
schedulePreloadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected