Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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