Remove isValid from RCTInvalidating

Summary:
We only actually use it on RCTBridge and RCTJavaScriptExecutor, so add it to these interfaces explicitly
This commit is contained in:
Pieter De Baets
2015-08-14 01:59:42 -07:00
parent f5d68f6ecb
commit fa07736ee1
14 changed files with 25 additions and 44 deletions

View File

@@ -29,6 +29,11 @@ typedef void (^RCTJavaScriptCallback)(id json, NSError *error);
*/
- (void)setUp;
/**
* Whether the executor has been invalidated
*/
@property (nonatomic, readonly, getter=isValid) BOOL valid;
/**
* Executes given method with arguments on JS thread and calls the given callback
* with JSValue and JSContext as a result of the JS module call.