What would be your recommended way of handling the following use case, specifically in Pythonista UI module context:
User is busily typing in a TextView (or a similar UI element). I want the input to be stored on a web service (via HTTP POST).
Saving to the web service is generally fast but subject to all the vagaries of Internet, so I would not like to send an update for every character typed, nor to wait for the response. And since I am sending the whole text typed every time, it does not matter if an occasional update goes awry - but, if the "last" update fails, it needs to be re-sent.
Any suggestions? This seems such a common scenario that I am hoping there's an "established" solution for it.
Thanks!