Add MessageQueue method for executing function and returning its result

Reviewed By: majak

Differential Revision: D3175793

fbshipit-source-id: e1e66e3dcde8b1fb35973340e12d947a0e955775
This commit is contained in:
Pieter De Baets authored and Facebook Github Bot 1 committed 2016-07-18 07:13:32 -07:00
1 parent ca5d1aebab
commit 7fa677f7c3
14 files changed
+106 -76

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@
#import "RCTInvalidating.h"
typedef void (^RCTJavaScriptCompleteBlock)(NSError *error);
typedef void (^RCTJavaScriptCallback)(id json, NSError *error);
typedef void (^RCTJavaScriptCallback)(id result, NSError *error);
/**
* Abstracts away a JavaScript execution context - we may be running code in a