/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/runtimescheduler/RuntimeSchedulerIntersectionObserverDelegate.h
25 строк
599 B
Rubén Norte
Integrate IntersectionObserver in Event Loop (#51452)
20 май 2025, 15:40
20 май 2025, 15:40
3aeba22
Код
Авторство
О чём код?
/* * 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 <unordered_set> namespace facebook::react { using SurfaceId = int32_t; class RuntimeSchedulerIntersectionObserverDelegate { public: virtual ~RuntimeSchedulerIntersectionObserverDelegate() = default; virtual void updateIntersectionObservations( const std::unordered_set<SurfaceId>& surfaceIdsWithPendingRenderingUpdates) = 0; }; } // namespace facebook::react