OnExtensionResponse sequence
Posted: 17 Apr 2013, 06:28
I am finding that I frequently need to send a batch of messages from the server that must be executed sequentially on the client. Let's say I do something like this on the server:
Can I be certain that my OnExtensionResponse function on the client will always process them one at a time, in the order they were sent, even if one of the messages potentially takes a long time to process?
Or do I need to have the client tell the server when it finishes processing each message before the next one can be sent?
Code: Select all
SFSExtension.send("Message1", ...);
SFSExtension.send("Message2", ...);
SFSExtension.send("Message3", ...);Or do I need to have the client tell the server when it finishes processing each message before the next one can be sent?