Events are primitive elements and are special in the sense that software languages do not support them directly. Events are not allowed in subroutines as inputs, outputs, local variables, or accessible as global elements.
Events, in relation to handwritten code, are used in the following manner:
● Callbacks - You can associate a callback with a Rational Statemate event.
● Tasks - You can use thewait_for_event
command to react to a Rational Statemate event.