Please sign in to comment.
Promise support for C++ bridge
Summary: Looks like `CxxModule::Method` already supports 0..2 callbacks. Based on Obj-C implementation (RCTModuleMethod.m:492) and JS bridge code (NativeModules.js:76), 2 callbacks native method is transformed to JS promise by JS part of the bridge. Reviewed By: javache Differential Revision: D5207852 fbshipit-source-id: 5aad86d45b97397f2bc3a4dbc648a60d96a4689e
- Loading branch information...
Showing with 2 additions and 1 deletion.