Skip to content

Defining invoked machine actions outside of declaration. #1296

Answered by davidkpiano
TeraBlitz asked this question in General
Discussion options

You must be logged in to vote

You don't want to cross actor boundaries like that. The more reasonable thing to do would be to delegate the execution of that action to the parent, since that is where it's most relevant. And then the child actor can send events to the parent, and the parent can trigger actions (or not) based on that event.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TeraBlitz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants