/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h
24 строки
638 B
Christoph Purrer
Remove unused LegacyModuleProviderDelegate from TurboModuleManager.h (#51882)
09 июн 2025, 18:30
09 июн 2025, 18:30
a67d2c5
Код
Авторство
О чём код?
/* * 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. */ #pragma once #include <ReactCommon/CallInvoker.h> #include <ReactCommon/TurboModule.h> #include <functional> #include <string> #include <vector> namespace facebook::react { using TurboModuleManagerDelegate = std::function<std::shared_ptr<TurboModule>( const std::string& name, const std::shared_ptr<CallInvoker>& jsInvoker)>; using TurboModuleManagerDelegates = std::vector<TurboModuleManagerDelegate>; } // namespace facebook::react