Tadeu Zagallo 3b24f52a20 [ReactNative] Add completionBlock to -[RCTBridge enqueueJSCall:args:]
Summary:
@public

Allow to pass an optional completion block to the bridge JS calls.

The block will be called from the JS thread, after the javascript has finished
running and the returned calls have been processed/dispatched to the native modules.

Test Plan: Added `testCallbackIsCalledOnTheRightTime` to `RKBatchedBridgeTests`
2015-05-28 08:53:53 -08:00
..
2015-03-26 06:32:01 -07:00
2015-03-26 06:32:01 -07:00
2015-04-21 05:24:10 -08:00
2015-05-20 18:26:36 -08:00
2015-05-26 11:19:49 -08:00
2015-05-20 18:26:36 -08:00
2015-05-20 18:26:36 -08:00
2015-03-26 06:32:01 -07:00
2015-05-01 06:36:49 -08:00
2015-05-20 18:26:36 -08:00
2015-05-20 18:26:36 -08:00
2015-04-21 05:24:10 -08:00
2015-04-30 09:59:16 -08:00
2015-05-07 03:55:43 -08:00
2015-03-26 06:32:01 -07:00
2015-03-26 06:32:01 -07:00