tylertravisty / rum-goggles

MIT License
7 stars 1 forks source link

Chat bot message active state out of sync #23

Open tylertravisty opened 4 months ago

tylertravisty commented 4 months ago

Chat bot message active state can get out of sync when using the start all/stop all buttons. The wails event telling component state the command is inactive arrives after the wails event telling the component state is active. Events are out of order. Need a way to tell front end what order the events were called. Maybe use a timestamp? Front end can save timestamp of last event and only act on events with a later timestamp, ignoring events with an earlier timestamp.