AnsweredAssumed Answered

Accessing the JS API via a web worker

Question asked by robhewy on May 15, 2017
Latest reply on Aug 7, 2018 by gasparovic

I would like to offload some of the heavy lifting in a web app to a web worker.


It is a 2-3 second jank I would like gone.


Right now the web worker would still need access to parts of the API e.g. Extent and Polygon.


I have tried loading the init.js script via importScripts() but I still get errors.


Has anyone had any success with the ArcGIS JS-API inside a web worker ... not outside but inside.