mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unused LegacyModuleProviderDelegate from TurboModuleManager.h (#51882)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51882 changelog: [internal] Reviewed By: javache Differential Revision: D76159770 fbshipit-source-id: dd64a7bb7c1fa3ded0e293985f5c087ba7d78dff
This commit is contained in:
committed by
Facebook GitHub Bot
parent
fe2bcbf4ba
commit
a67d2c5e44
@@ -7,8 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "JavaScriptModule.h"
|
||||
|
||||
#include <ReactCommon/CallInvoker.h>
|
||||
#include <ReactCommon/TurboModule.h>
|
||||
#include <functional>
|
||||
@@ -17,18 +15,10 @@
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
class RuntimeScheduler;
|
||||
|
||||
using TurboModuleManagerDelegate = std::function<std::shared_ptr<TurboModule>(
|
||||
const std::string& name,
|
||||
const std::shared_ptr<CallInvoker>& jsInvoker)>;
|
||||
|
||||
using TurboModuleManagerDelegates = std::vector<TurboModuleManagerDelegate>;
|
||||
|
||||
using LegacyModuleProviderDelegate =
|
||||
std::function<TurboModuleProviderFunctionType(
|
||||
const std::shared_ptr<CallInvoker>& jsInvoker,
|
||||
const std::shared_ptr<RuntimeScheduler>& runtimeScheduler,
|
||||
const JavaScriptModuleCallback& javaScriptModuleCallback)>;
|
||||
|
||||
} // namespace facebook::react
|
||||
|
||||
Reference in New Issue
Block a user