Global Feed Post Login
Replying to Avatar gsovereignty

Problem: problem tracker state machine can't query rocket state machine's state

The problem tracker state machine can't query the rocket state machine's current state because this would cause a recursive query loop.

Solution:

Create a shared object with the latest state of all state machines. Push current states from the event conductor to this new object.

Every state machine can then have read-only access to the current state of any other state machine.

Avatar
gsovereignty 2y ago

Resolved with https://github.com/nostrocket/engine/commit/9a3ee011747bedd9c434d3c9e8d6d74f0a6129e1

Reply to this note

Please Login to reply.

Discussion

No replies yet.