delete UnbatchedEventQueue (#43457)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43457

changelog: [internal]

UnbatchedEventQueue is no longer used.

Reviewed By: javache

Differential Revision: D54687451

fbshipit-source-id: 28fe2aea25d7fd98bff488197959968e24244c6e
This commit is contained in:
Samuel Susla
2024-03-13 08:21:57 -07:00
committed by Facebook GitHub Bot
parent 71cf093aa3
commit 16fd5f0ff7
4 changed files with 0 additions and 44 deletions
@@ -12,7 +12,6 @@
#include "BatchedEventQueue.h"
#include "RawEvent.h"
#include "UnbatchedEventQueue.h"
namespace facebook::react {
@@ -12,7 +12,6 @@
#include <react/renderer/core/EventListener.h>
#include <react/renderer/core/EventQueueProcessor.h>
#include <react/renderer/core/StateUpdate.h>
#include <react/renderer/core/UnbatchedEventQueue.h>
namespace facebook::react {
@@ -1,17 +0,0 @@
/*
* 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.
*/
#include "UnbatchedEventQueue.h"
namespace facebook::react {
void UnbatchedEventQueue::onEnqueue() const {
eventBeat_->request();
eventBeat_->induce();
}
} // namespace facebook::react
@@ -1,25 +0,0 @@
/*
* 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 <react/renderer/core/EventQueue.h>
namespace facebook::react {
/*
* Event Queue that dispatches events as granular as possible without waiting
* for the next beat.
*/
class UnbatchedEventQueue final : public EventQueue {
public:
using EventQueue::EventQueue;
void onEnqueue() const override;
};
} // namespace facebook::react