shrink0r/workflux

Introduce an ObservableStateMachine

shrink0r opened this issue · 2 comments

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.

https://github.com/igorw/evenement is another lightweight event system you could consider.

Works for me once i worked around the package dependency conflicts for my project and worked out a way to attach encapsulated event handlers.