mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 09:11:14 +08:00
Test plan: broke catalyst apps Summary: This reverts commit 9fba6a360dc5f8bf. fbobjc/Tools/revert Reverter: jprado @build-break commit 9fba6a360dc5f8bf014f3d3c584c545b16da5100 Author: Tadeu Zagallo <tadeuzagallo@fb.com> AuthorDate: Thu May 28 08:29:19 2015 -0700 Commit: Service User <svcscm@fb.com> CommitDate: Thu May 28 09:53:53 2015 -0700 [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`