UNPKG

473 Btext/x-cView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#include "UnbatchedEventQueue.h"
9
10namespace facebook {
11namespace react {
12
13void UnbatchedEventQueue::enqueueEvent(const RawEvent &rawEvent) const {
14 EventQueue::enqueueEvent(rawEvent);
15
16 eventBeat_->request();
17 eventBeat_->induce();
18}
19
20} // namespace react
21} // namespace facebook