mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
xplat/js/react-native-github/packages/react-native/ReactCxxPlatform/react/utils/RunLoopObserverManager.cpp
Reviewed By: rshest Differential Revision: D80328714
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f936780cd5
commit
d5e437870d
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
namespace {
|
||||
/*
|
||||
* Event beat associated with JavaScript runtime. The beat is called on
|
||||
* RuntimeScheduler's thread induced by the UI thread event loop.
|
||||
@@ -39,6 +40,7 @@ class EventBeatImpl : public EventBeat, public RunLoopObserver::Delegate {
|
||||
private:
|
||||
std::shared_ptr<const RunLoopObserver> uiRunLoopObserver_;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
std::unique_ptr<EventBeat> RunLoopObserverManager::createEventBeat(
|
||||
std::shared_ptr<EventBeat::OwnerBox> ownerBox,
|
||||
|
||||
Reference in New Issue
Block a user