Skip to content

Call superstate executes for the same event as the child is in #65

@muisje

Description

@muisje

Currently the super states won't react to an event fired. Is there any elegant way to have all the super states of the current states be called on the same event if it is defined like that?

so for instance i have this function that is defined for every state. I want it to be called for every superstate including the current state:
builder.In(state).On(Events.Do).Execute(state.Do);
but it only executes for the current state and not the super states when firing the event Do,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions