You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue isn't just related to the "=' construct. The _map structure for FysomGlobal does not permit the case in Fysom where the same event can trigger multiple destination, source pairs. moznuy's example with two events with the same name is exactly the problem I have. As he says, this is very different behavior from Fysom.
Small snippet to illustrate:
I tried to add 2 events with the same name:
but the latter overrides the former, which do not correspond with Fysom behaviour:
and
So now I forced to create to different events and fire them based on state which defeats the point of using FSM.
The text was updated successfully, but these errors were encountered: