<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic High Priority : How to make query task synchronous in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/high-priority-how-to-make-query-task-synchronous/m-p/349880#M32388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcGIS JS API version 3.6. I want to make query task synchronize. While executing query task reaming code will wait until completion of query task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example I have shared&lt;/SPAN&gt;&lt;A href="http://jsbin.com/mesokujo/1"&gt; my code here &lt;/A&gt;&lt;SPAN&gt;which contains query layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Case 1: In which I am directly executing the code and printing the log in consol window, where you can see before the query task output is displaying ([ATTACH=CONFIG]34724[/ATTACH] screen shot for details)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Case 2: In this case we have used alert (for time delay) in the code then value is getting before query task. ([ATTACH=CONFIG]34725[/ATTACH]screenshot for details)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Researched on Google and going through &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/95730/how-to-synchronously-execute-a-querytask"&gt;similar question&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be great !!! thanks in advance : )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 04:21:45 GMT</pubDate>
    <dc:creator>SunilPalkar</dc:creator>
    <dc:date>2014-06-19T04:21:45Z</dc:date>
    <item>
      <title>High Priority : How to make query task synchronous</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/high-priority-how-to-make-query-task-synchronous/m-p/349880#M32388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcGIS JS API version 3.6. I want to make query task synchronize. While executing query task reaming code will wait until completion of query task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example I have shared&lt;/SPAN&gt;&lt;A href="http://jsbin.com/mesokujo/1"&gt; my code here &lt;/A&gt;&lt;SPAN&gt;which contains query layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Case 1: In which I am directly executing the code and printing the log in consol window, where you can see before the query task output is displaying ([ATTACH=CONFIG]34724[/ATTACH] screen shot for details)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Case 2: In this case we have used alert (for time delay) in the code then value is getting before query task. ([ATTACH=CONFIG]34725[/ATTACH]screenshot for details)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Researched on Google and going through &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/95730/how-to-synchronously-execute-a-querytask"&gt;similar question&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be great !!! thanks in advance : )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 04:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/high-priority-how-to-make-query-task-synchronous/m-p/349880#M32388</guid>
      <dc:creator>SunilPalkar</dc:creator>
      <dc:date>2014-06-19T04:21:45Z</dc:date>
    </item>
  </channel>
</rss>

