Make executeAsyncBlockOnJavaScriptQueue required

Summary: This leaves no optional methods on `RCTJavaScriptExecutor`, which is certainly a good thing.

Reviewed By: majak

Differential Revision: D3518915

fbshipit-source-id: e606b9076c3299f81a225a181ea244148a1832cb
This commit is contained in:
Adam Ernst authored and Facebook Github Bot 2 committed 2016-07-07 13:43:39 -07:00
1 parent a203cf4791
commit 7e1ea48379
2 files changed
+2 -11

No files matched your search

-2
View File
@@ -76,8 +76,6 @@ typedef void (^RCTJavaScriptCallback)(id json, NSError *error);
*/
- (void)executeBlockOnJavaScriptQueue:(dispatch_block_t)block;
@optional
/**
* Special case for Timers + ContextExecutor - instead of the default
* if jsthread then call else dispatch call on jsthread