Pass RuntimeScheduler to Binding

Summary: changelog: [internal]

Reviewed By: ShikaSD

Differential Revision: D30487037

fbshipit-source-id: 3956606891a313577fd013ae5c2a9f1f90ac5903
This commit is contained in:
Samuel Susla
2021-09-06 05:42:30 -07:00
committed by Facebook GitHub Bot
parent cf561b4052
commit f679891bd6
15 changed files with 143 additions and 3 deletions
@@ -558,6 +558,10 @@ public class CatalystInstanceImpl implements CatalystInstance {
public native RuntimeExecutor getRuntimeExecutor();
public native RuntimeScheduler getRuntimeScheduler();
public native void installRuntimeScheduler();
@Override
public void addJSIModules(List<JSIModuleSpec> jsiModules) {
mJSIModuleRegistry.registerModules(jsiModules);