State machine observer

An observer can be attached to the state machine to report what is happening. Debugging becomes much easier when the state machine is observable.

For each target language, some observers are already written and ready to use. However it is also possible to write your own observer by implementing the IObserver interface.

IObserver

Discover how to use the observers depending on the target language: