This
method specifies the value of the OMReactive class attribute.
If OMReactive class is
set to TRUE, event consumption is guarded.
Note: You need to guard event consumption in order to protect
the reactive object from being deleted by another thread while it
is consuming an event.
Signaturevoid setToGuardReactive(OMBoolean flag);
Parametersflag
Specifies the value of the reactive
event consumption flag. The possible values are as follows:
- TRUE - The reactive event consumption
is guarded.
- FALSE - The reactive
event consumption should not be guarded.