diff --git a/ReactCommon/fabric/events/EventBeat.h b/ReactCommon/fabric/events/EventBeat.h index 2f86600a4..448da6dee 100644 --- a/ReactCommon/fabric/events/EventBeat.h +++ b/ReactCommon/fabric/events/EventBeat.h @@ -58,13 +58,13 @@ class EventBeat { */ void setFailCallback(const FailCallback &failCallback); - protected: /* * Should be used by sublasses to send a beat. * Receiver might ignore the call if a beat was not requested. */ void beat(jsi::Runtime &runtime) const; + protected: BeatCallback beatCallback_; FailCallback failCallback_; mutable std::atomic isRequested_{false};