/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include #include #include #include namespace facebook::react { class BridgelessNativeMethodCallInvoker : public NativeMethodCallInvoker { public: explicit BridgelessNativeMethodCallInvoker( std::shared_ptr messageQueueThread); void invokeAsync(const std::string& methodName, std::function&& func) override; void invokeSync(const std::string& methodName, std::function&& func) override; private: std::shared_ptr messageQueueThread_; }; } // namespace facebook::react