Skip to content

Commit 3aa6fbb

Browse files
authored
Update README.md
1 parent 6a29832 commit 3aa6fbb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,15 @@ Example:
424424

425425
void (Fsm::ImplPtr)(Fsm::Event event)
426426

427+
### Execution order
428+
429+
The order of execution of guards/actions/entry/exit are as follows:
430+
431+
- Evaluation of all necessary guards to select a transition
432+
- Exit actions from source state up to least common ancestor parent state
433+
- Transition actions
434+
- Entry actions from least common ancestor parent state to target state
435+
427436
### Logging
428437

429438
fsm_.on_state_change_ = [](Fsm::Ref fsm, Fsm::Event event, Fsm::StateRef old_state, Fsm::StateRef new_state)

0 commit comments

Comments
 (0)