Merge ReactMethod and ReactSyncHook

Reviewed By: astreet

Differential Revision: D4409726

fbshipit-source-id: 7a0091da754b114680772aa9c0a898b1aa721ba5
This commit is contained in:
Pieter De Baets
2017-01-30 06:39:45 -08:00
committed by Facebook Github Bot
parent 412acd237a
commit 59226f022c
7 changed files with 85 additions and 133 deletions

View File

@@ -24,13 +24,6 @@ public interface NativeModule {
String getType();
}
/**
* A method that can be called from JS synchronously on the JS thread and return a result.
* @see ReactSyncHook
*/
interface SyncNativeHook {
}
/**
* @return the name of this module. This will be the name used to {@code require()} this module
* from javascript.