Introduce an ObservableStateMachine
shrink0r opened this issue · 2 comments
shrink0r commented
Based on the discussion in #25 it would be nice to have an implementation of what we called an ObservableStateMachine
.
The implementation could use the symfony event-dispatcher for actually delivering the notifications to registered listeners.
MrHash commented
https://github.com/igorw/evenement is another lightweight event system you could consider.
MrHash commented
Works for me once i worked around the package dependency conflicts for my project and worked out a way to attach encapsulated event handlers.