Select to view content in your preferred language

Multiple QueryTasks with one callback function

537
1
Jump to solution
04-17-2013 12:51 AM
ab1
by
Deactivated User
Hi,

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?

Thanks 🙂
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
IvanBespalov
Frequent Contributor
0 Kudos
1 Reply
IvanBespalov
Frequent Contributor
0 Kudos