Open osnr opened 1 year ago
we now have 2 things in production (new Keyboard/terminal stuff & print stuff) that should really be using event statements
My integration of MQTT messages would also benefit from Event Statements. Same expectations as a key press: event processed once. Currently I am hacking around not having event statements by claiming them and then retracting them 5 seconds later.
so Claim
and Wish
add a verb-phrase prefix, seems logical to have a similar structure here. The verb could be Announce
? It's a little generic but the alternatives I'm coming up with aren't much better outside a computerbrained context (e.g. "publish" is often used but that only makes sense to people who have heard "pubsub" before).
It would be tidy if the phrase was purely a prefix, so the timestamp should also go at the beginning somehow, maybe something like:
Announce key $key was pressed on keyboard $keyboard
→ Say $this announces at timestamp 1234567 key $key was pressed on keyboard $keyboard
Edit: emit
is another verb, but again very technical in origin, maybe hard to put into a human sentence