Handling user input and server responses separately
If a button press also has to process the server’s response, the device has to wait on the network. We separate what happens at the press from what happens afterwards.
Think of saving a set and sending it to the server. If we handle the server's answer at the moment of the press, the button's result wobbles along with a slow or dropped network. My record is already on the phone, so why wait for the server?
So at the press we do what the phone can do, and handle the server's answer separately. That raises a new question. After the server answers, time passes, and a value in some other area changes, who takes care of the work that's left?
So each area gets one function that reconciles its remaining work. At the end of every input we run every area's function, and the server's answers are handled only there. The moment of the press and the server's answer are no longer tied to each other.
Written from that day’s point of view, using the documents and change history of the time. Published 2026.12.01.
