mirror of
https://github.com/status-im/react-native.git
synced 2025-02-28 00:50:43 +00:00
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