What is the best practice to guard against a CloudScript successfully executing but never returning to client?
The scenario I'm wondering about is:
The CS is successfully invoked and executed but the player's network drops in-between; before the http call returns from the server.
In my case, I would need to disconnect the player from its game session so he logs back in with latest data taken from the server.
However, I don't know how to "simulate" this kind of scenario.
Is it possible to introduce some "sleep" function in a CS to force a 5 sec timeout so I have time to manually disconnect my network?
Has any article ever been written regarding Cloud Script error management best practices?