I don't think this is a useful approach. The client has no idea what command COMMAND OK is referring to and the user only cares about what state changes in front of them.
I'd like to change this approach to
client sends COMMAND UUID MESSAGE
server immediately sends COMMAND UUID ACK
things happen
this way, the client knows if and when the server is seeing the commands it sends. this can be used to report on connection health and other stuff.
Right now commands work like this:
UserError
, we send red textCOMMAND OK
I don't think this is a useful approach. The client has no idea what command
COMMAND OK
is referring to and the user only cares about what state changes in front of them.I'd like to change this approach to
COMMAND UUID MESSAGE
COMMAND UUID ACK
this way, the client knows if and when the server is seeing the commands it sends. this can be used to report on connection health and other stuff.