MCPcopy Create free account
hub / github.com/Kudo/react-native-v8 / onMainLoopIdle

Method onMainLoopIdle

android/src/main/cpp/OnLoad.cpp:95–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 static void onMainLoopIdle(
96 jni::alias_ref<jclass>,
97 jni::alias_ref<facebook::react::JRuntimeExecutor::javaobject>
98 runtimeExecutor) {
99 runtimeExecutor->cthis()->get()([](jsi::Runtime &runtime) {
100 auto v8Runtime = dynamic_cast<V8Runtime *>(&runtime);
101 if (v8Runtime) {
102 v8Runtime->OnMainLoopIdle();
103 }
104 });
105 }
106
107 static void registerNatives() {
108 registerHybrid({

Callers

nothing calls this directly

Calls 1

OnMainLoopIdleMethod · 0.80

Tested by

no test coverage detected