Open
Description
What's the reason in passing desired state name when calling the event with parameters? As far as I understand the idea behind finite state machines, event should unambiguously set what state it will end at. We have guards to implement conditional transitions etc, so why there's a first parameter? I think that api would be cleaner if we could pass arbitrary parameters for callbacks.
Is there a use-case I don't see right now?