mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-16 18:50:07 +08:00
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:
committed by
Facebook Github Bot 1
parent
ca5d1aebab
commit
7fa677f7c3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user