Make addSynchronousHookWithName private

Summary: It's not widely used, and you can do something equivalent anyway by using existing public API.

Reviewed By: javache

Differential Revision: D3518896

fbshipit-source-id: 6995a5d840aecfff4ffd78ac43f3f592a4f47f91
This commit is contained in:
Adam Ernst authored and Facebook Github Bot 2 committed 2016-07-07 13:43:39 -07:00
1 parent 65120d7052
commit a203cf4791
2 files changed
+15 -21

No files matched your search

-6
View File
@@ -85,10 +85,4 @@ typedef void (^RCTJavaScriptCallback)(id json, NSError *error);
*/
- (void)executeAsyncBlockOnJavaScriptQueue:(dispatch_block_t)block;
/**
* For executors that support it, this method can be used to add a synchronous
* callback function for communicating with the javascript context.
*/
- (void)addSynchronousHookWithName:(NSString *)name usingBlock:(id)block;
@end