/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/consistency/ShadowTreeRevisionConsistencyManager.h
24 строки
602 B
Rubén Norte
Implement UI consistency mechanism for JS thread (#43581)
25 мар 2024, 19:50
25 мар 2024, 19:50
332355e
Код
Авторство
О чём код?
/* * 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 namespace facebook::react { /** * This interface is used for UI consistency, indicating the timeframe where * users should see the same revision of the shadow tree. */ class ShadowTreeRevisionConsistencyManager { public: virtual ~ShadowTreeRevisionConsistencyManager() = default; virtual void lockRevisions() = 0; virtual void unlockRevisions() = 0; }; } // namespace facebook::react