Select to view content in your preferred language

esri/core/workers example in Angular

107
2
Monday
alabanu
New Contributor

Hello, 

Would you kindly provide a basic example of an Angular project using an Esri worker?

In the Github repository, none of the associated links function.

https://developers.arcgis.com/javascript/latest/api-reference/esri-core-workers-Connection.html

0 Kudos
2 Replies
AndyGup
Esri Regular Contributor

We've experimented with comlink and Vite/rollup. We'll have a sample app for that when 4.33 releases in the next 30 days or so. You might give it a try with Angular and let us know: https://github.com/GoogleChromeLabs/comlink.

0 Kudos
ForrestLin
Frequent Contributor

@AndyGup 

Dose esri/core/workers have anything related to @angular/service-worker?

 

Thanks.

Forrest

0 Kudos