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.
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.