Hello Everyone,
I would like to know , how we can develop Asynchronous operations in Custom SOE.
Can you please guide me in direction.
Thank you in advance.
you can use the pattern that use Esri for asynchronous task. You can see, for example, Export Tile ArcGIS REST API where the operation return a <SPAN class="s2">jobId and </SPAN><SPAN class="s2">jobStatus. </SPAN> The operation return immediately jobId that you use in subsequent calls to method and when the jobStatus return 'Successed' (completed job) you get result. Your client check every x seconds the status of job.
<SPAN class="s2">jobId and </SPAN><SPAN class="s2">jobStatus. </SPAN>
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.