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
2016-07-18 07:12:19 -07:00
committed by Facebook Github Bot 1
parent ca5d1aebab
commit 7fa677f7c3
14 changed files with 106 additions and 76 deletions

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