<?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 Bug with client-side StreamLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-client-side-streamlayer/m-p/1418186#M84481</link>
    <description>&lt;P&gt;There seems to be an issue with StreamLayer (ArcGIS SDK 4.29.10), specifically when you send client-side features a single time. I want to say it's a timing issue, because wrapping the sendMessageToClient in a setTimeout with a 1000ms wait fixes the issue.&lt;BR /&gt;&lt;BR /&gt;Reproduced the issue here:&amp;nbsp;&lt;A href="https://codepen.io/addypizza/pen/bGJPpEg" target="_blank"&gt;https://codepen.io/addypizza/pen/bGJPpEg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Notice that if you wrap the above sendMessageToClient call in a 1000ms setTimeout, it works.&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2024 16:01:44 GMT</pubDate>
    <dc:creator>AddisonShaw</dc:creator>
    <dc:date>2024-05-02T16:01:44Z</dc:date>
    <item>
      <title>Bug with client-side StreamLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-client-side-streamlayer/m-p/1418186#M84481</link>
      <description>&lt;P&gt;There seems to be an issue with StreamLayer (ArcGIS SDK 4.29.10), specifically when you send client-side features a single time. I want to say it's a timing issue, because wrapping the sendMessageToClient in a setTimeout with a 1000ms wait fixes the issue.&lt;BR /&gt;&lt;BR /&gt;Reproduced the issue here:&amp;nbsp;&lt;A href="https://codepen.io/addypizza/pen/bGJPpEg" target="_blank"&gt;https://codepen.io/addypizza/pen/bGJPpEg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Notice that if you wrap the above sendMessageToClient call in a 1000ms setTimeout, it works.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 16:01:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-client-side-streamlayer/m-p/1418186#M84481</guid>
      <dc:creator>AddisonShaw</dc:creator>
      <dc:date>2024-05-02T16:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with client-side StreamLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-client-side-streamlayer/m-p/1418210#M84485</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to wait for the StreamLayer is loaded and its layerView is in place. At 4.29, &amp;nbsp;you need to wait for StreamLayerView.updating becomes false once at the time of load. At 4.30, you will only need to wait for the StreamLayerView is created. &amp;nbsp;&lt;/P&gt;&lt;P&gt;In any case see this thread - &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/first-calls-to-sendmessagetoclient-not-used/m-p/1407481#M84259" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/first-calls-to-sendmessagetoclient-not-used/m-p/1407481#M84259&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 16:36:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-with-client-side-streamlayer/m-p/1418210#M84485</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2024-05-02T16:36:52Z</dc:date>
    </item>
  </channel>
</rss>

