mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-09 09:30:10 +08:00
Less Catalyst, more React
Summary: Catalyst is the old project name. Rename a few files. public Reviewed By: bestander Differential Revision: D2859553 fb-gh-sync-id: 65a87cc7bcc22f20326971becec02aa1c573e5b9
This commit is contained in:
committed by
facebook-github-bot-9
parent
481f560f64
commit
c95d74ac09
@@ -11,7 +11,7 @@ package com.facebook.react.bridge;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import com.facebook.react.bridge.queue.CatalystQueueConfiguration;
|
||||
import com.facebook.react.bridge.queue.ReactQueueConfiguration;
|
||||
import com.facebook.react.common.annotations.VisibleForTesting;
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
import com.facebook.react.common.annotations.VisibleForTesting;
|
||||
@@ -29,7 +29,7 @@ public interface CatalystInstance {
|
||||
@DoNotStrip
|
||||
void invokeCallback(final int callbackID, final NativeArray arguments);
|
||||
/**
|
||||
* Destroys this catalyst instance, waiting for any other threads in CatalystQueueConfiguration
|
||||
* Destroys this catalyst instance, waiting for any other threads in ReactQueueConfiguration
|
||||
* (besides the UI thread) to finish running. Must be called from the UI thread so that we can
|
||||
* fully shut down other threads.
|
||||
*/
|
||||
@@ -42,7 +42,7 @@ public interface CatalystInstance {
|
||||
@VisibleForTesting
|
||||
void initialize();
|
||||
|
||||
CatalystQueueConfiguration getCatalystQueueConfiguration();
|
||||
ReactQueueConfiguration getReactQueueConfiguration();
|
||||
|
||||
<T extends JavaScriptModule> T getJSModule(Class<T> jsInterface);
|
||||
<T extends NativeModule> T getNativeModule(Class<T> nativeModuleInterface);
|
||||
|
||||
Reference in New Issue
Block a user