Files
react-native/ReactCommon/react/renderer/core/UnbatchedEventQueue.cpp
T
Samuel Susla deda35134a Make EventQueue a virtual class
Summary:
Changelog: [internal]

EventQueue is used as a virtual class, this diff makes it one.

Reviewed By: JoshuaGross, shergin

Differential Revision: D25826983

fbshipit-source-id: 60e6937514cd3b837b0ca9f61bfaa081823ffc61
2021-01-07 13:42:24 -08:00

20 lines
406 B
C++

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "UnbatchedEventQueue.h"
namespace facebook {
namespace react {
void UnbatchedEventQueue::onEnqueue() const {
eventBeat_->request();
eventBeat_->induce();
}
} // namespace react
} // namespace facebook