Skip to content

entry-actions should fire after transition action #4

@jiangts

Description

@jiangts

Suppose you're given the following configuration

{
:states {:fsm/A {:entry-actions [[:fsm/action1]]
                 :exit-actions [[:fsm/action2]]}}
:transitions {[:fsm/A :event] {:target :fsm/A
                               :actions [[:fsm/action3]]}}
...
}

When the transition :event is fired on state :fsm/A, the expected order of actions dispatched should be
action2, action3, action1. In the given implementation, the order is action2, action1, action3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions