Files
react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModule.java
T
David Vacca 8529b1ee91 Implement release of FabricUIManager resources
Reviewed By: achen1

Differential Revision: D8232155

fbshipit-source-id: 6683c692a830f5a73aab2c606167e54d668ae5c2
2018-06-01 17:54:50 -07:00

20 lines
498 B
Java

package com.facebook.react.bridge;
/**
* Marker interface used to represent a JSI Module.
*/
public interface JSIModule {
/**
* This is called at the end of {@link CatalystApplicationFragment#createCatalystInstance()}
* after the CatalystInstance has been created, in order to initialize NativeModules that require
* the CatalystInstance or JS modules.
*/
void initialize();
/**
* Called before {CatalystInstance#onHostDestroy}
*/
void onCatalystInstanceDestroy();
}