mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Refactor BridgeListener into JSIModulesProvider
Reviewed By: achen1 Differential Revision: D7140944 fbshipit-source-id: 092ea8569af5b5f90e005d6dc2c1819c1c9cf58f
This commit is contained in:
committed by
Facebook Github Bot
parent
9f239d7914
commit
4466b6fa7c
@@ -0,0 +1,15 @@
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Interface used to initialize JSI Modules into the JSI Bridge.
|
||||
*/
|
||||
public interface JSIModulesProvider {
|
||||
|
||||
/**
|
||||
* @return a {@link List<JSIModuleHolder>} that contain the list of JSI Modules.
|
||||
*/
|
||||
List<JSIModuleHolder> getJSIModules(ReactApplicationContext reactApplicationContext, JavaScriptContextHolder jsContext);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user