waku-react-native/ios/ReactNative.m

15 lines
416 B
Mathematica
Raw Normal View History

2022-05-10 23:42:15 +00:00
#import <React/RCTBridgeModule.h>
@interface RCT_EXTERN_MODULE(ReactNative, NSObject)
RCT_EXTERN_METHOD(multiply:(float)a withB:(float)b
withResolver:(RCTPromiseResolveBlock)resolve
withRejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(defaultPubsubTopic:
(RCTPromiseResolveBlock)resolve
withRejecter:(RCTPromiseRejectBlock)reject)
@end