Does sendParent
work inside invoked actors?
#5148
Unanswered
cmh-echomark
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm upgrading from xstate 4, and I'm having trouble calling events within invoked actors.
I assumed that
sendParent
was the best way to do this, but that does not appear to work as I'm expecting. However, I notice thatself._parent.send
does work... Not sure what the difference is.Here is an example in codesandbox
Simplified machine below:
Beta Was this translation helpful? Give feedback.
All reactions