xstate-cpp-generator icon indicating copy to clipboard operation
xstate-cpp-generator copied to clipboard

Multiple State Machines

Open chriseyhorn opened this issue 2 years ago • 0 comments

Great library, precisely what we have been looking for! How would you suggest dealing with multiple state machines? In the TypeScript version, you can invoke a state machine from inside another state machine. Is this approach compatible with your threading model in the generated code, or should we listen for event callbacks on the parent state machine and create the child as a parallel machine? Thanks in advance for your thoughts!

chriseyhorn avatar May 04 '22 18:05 chriseyhorn