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

Method registerNativeModuleFactory

valdi/src/valdi/runtime/Runtime.cpp:737–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735 }
736
737 DispatchFunction dispatchFn = [viewNodeTree, function = std::move(function)]() {
738 auto lock = viewNodeTree != nullptr ? viewNodeTree->lock() : TrackedLock();
739 function(viewNodeTree);
740 };
741
742 if (inMainThread && viewNodeTree->shouldRenderInMainThread()) {

Callers 5

RuntimeWrapperMethod · 0.45
TEST_PMethod · 0.45
createMethod · 0.45
createRuntimeMethod · 0.45

Calls

no outgoing calls

Tested by 2

RuntimeWrapperMethod · 0.36
TEST_PMethod · 0.36