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
ParallelState
A
on enter: send_event("some_event")B( compound )
B1
on "some_event"-> B2
B2
If we start this, A is entered, which triggers the sending of some_event. But because B is not yet entered (in parallel states states are entered one by one), B is technically not yet active which is why B1 never gets the some_event event delivered so while we should end up with state B2 active, we end up with B1 active. We will need some two-phase state entering mechanism, where we first finalize all state entering and only fire the event handlers once the new state is propagated through the state chart.
The text was updated successfully, but these errors were encountered:
Assume you have this setup:
If we start this,
A
is entered, which triggers the sending ofsome_event
. But becauseB
is not yet entered (in parallel states states are entered one by one),B
is technically not yet active which is whyB1
never gets thesome_event
event delivered so while we should end up with stateB2
active, we end up withB1
active. We will need some two-phase state entering mechanism, where we first finalize all state entering and only fire the event handlers once the new state is propagated through the state chart.The text was updated successfully, but these errors were encountered: