I'm planning to loop on one QueryTask object to perform requests on multiple layers : at each iteration of the loop change the QueryTask url and send a request to one feature layer. There will be one callback function for the QueryTask object that will process all server responses.
Is there any weird behaviour that could take place with this logic? What if two (or more) concurrent server responses are sent to the callback function? Are they all going to be processed or only one?