/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/nativemodule/fantomtestspecificmethods/NativeFantomTestSpecificMethods.h
31 строка
823 B
Rubén Norte
Add Fantom benchmark for RuntimeScheduler (#52189)
23 июн 2025, 18:34
23 июн 2025, 18:34
5742227
Код
Авторство
О чём код?
/* * 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 <FBReactNativeSpec/FBReactNativeSpecJSI.h> namespace facebook::react { struct FantomForcedCloneCommitHook; class NativeFantomTestSpecificMethods : public NativeFantomTestSpecificMethodsCxxSpec< NativeFantomTestSpecificMethods> { public: explicit NativeFantomTestSpecificMethods( std::shared_ptr<CallInvoker> jsInvoker); void registerForcedCloneCommitHook(jsi::Runtime& runtime); void takeFunctionAndNoop(jsi::Runtime& runtime, jsi::Function callback); private: std::shared_ptr<FantomForcedCloneCommitHook> fantomForcedCloneCommitHook_{}; }; } // namespace facebook::react