#import "Middleware.h"

@implementation Middleware
- (NSNumber *)multiply:(double)a b:(double)b {
    NSNumber *result = @(a * b);

    return result;
}

- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
    (const facebook::react::ObjCTurboModule::InitParams &)params
{
    return std::make_shared<facebook::react::NativeMiddlewareSpecJSI>(params);
}

+ (NSString *)moduleName
{
  return @"Middleware";
}

@end
