This method is used to set the event guard flag.
Public
inline void setEventGuard (const OMProtected* eventGuard)
inline void setEventGuard (const OMProtected& eventGuard)
eventGuard
Specifies the protected part of the reactive instance used to guard the event loop from mutual exclusion between events and triggered operation consumption