Skip to content

xState v5 : subscribe to snapshot does not trigger when an invoked actor change state #5117

Closed Answered by davidkpiano
florian-mollin-wanteeed asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, use the inspect API:

actor.system.inspect(inspectionEvent => {
  // This is called whenever anything happens in any actor within the system
})

https://stately.ai/docs/inspection

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by florian-mollin-wanteeed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants