@@ -2257,8 +2257,10 @@ class facebook::react::EventEmitter {
22572257 public void dispatchUniqueEvent(std::string type, const facebook::react::ValueFactory& payloadFactory, facebook::react::HighResTimeStamp eventTimestamp) const;
22582258 public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload) const;
22592259 public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp) const;
2260+ public void dispatchUniqueEvent(std::string type, facebook::react::SharedEventPayload payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
22602261 public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload) const;
22612262 public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp) const;
2263+ public void dispatchUniqueEvent(std::string type, folly::dynamic&& payload, facebook::react::HighResTimeStamp eventTimestamp, facebook::react::RawEvent::CoalescingKey coalescingKey) const;
22622264 public void setEnabled(bool enabled);
22632265 public void setShadowNodeFamily(std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily);
22642266}
@@ -2270,7 +2272,7 @@ class facebook::react::EventEmitterWrapper : public jni::HybridClass<facebook::r
22702272 public static void registerNatives();
22712273 public void dispatchEvent(std::string eventName, facebook::react::NativeMap* payload, int category, jlong eventTimestamp);
22722274 public void dispatchEventSynchronously(std::string eventName, facebook::react::NativeMap* params, jlong eventTimestamp);
2273- public void dispatchUniqueEvent(std::string eventName, facebook::react::NativeMap* payload, jlong eventTimestamp);
2275+ public void dispatchUniqueEvent(std::string eventName, facebook::react::NativeMap* payload, jlong eventTimestamp, int customCoalesceKey );
22742276}
22752277
22762278class facebook::react::EventListenerContainer {
@@ -7704,15 +7706,18 @@ struct facebook::react::RadialGradientSize::Dimensions {
77047706}
77057707
77067708struct facebook::react::RawEvent {
7707- public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now());
7709+ public RawEvent(std::string type, facebook::react::SharedEventPayload eventPayload, facebook::react::SharedEventTarget eventTarget, std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily, facebook::react::RawEvent::Category category = facebook::react::RawEvent::Category::Unspecified, bool isUnique = false, facebook::react::HighResTimeStamp eventStartTimeStamp = facebook::react::HighResTimeStamp::now(), facebook::react::RawEvent::CoalescingKey coalescingKey = facebook::react::RawEvent::DefaultCoalescingKey );
77087710 public bool isUnique;
77097711 public facebook::react::EventTag loggingTag;
77107712 public facebook::react::HighResTimeStamp eventStartTimeStamp;
77117713 public facebook::react::RawEvent::Category category;
7714+ public facebook::react::RawEvent::CoalescingKey coalescingKey;
77127715 public facebook::react::SharedEventPayload eventPayload;
77137716 public facebook::react::SharedEventTarget eventTarget;
7717+ public static constexpr facebook::react::RawEvent::CoalescingKey DefaultCoalescingKey;
77147718 public std::string type;
77157719 public std::weak_ptr<const facebook::react::ShadowNodeFamily> shadowNodeFamily;
7720+ public using CoalescingKey = int;
77167721}
77177722
77187723enum facebook::react::RawEvent::Category {
0 commit comments