laptop and a wrench

Bug

The code snippet given under the example in the ArcGIS Maps SDK for JavaScript / API Reference: workers documentation does not work.

Last Published: April 5, 2023 ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000156350
SubmittedMarch 6, 2023
Last ModifiedJune 10, 2025
Applies toArcGIS Maps SDK for JavaScript
Version found4.26
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed4.26
StatusFixed

Additional Information

In the documentation, there is a syntax error in the constructor of the first "workers.open()" example code snippet. This is to be addressed in a documentation update. API behavior remains the same.

Workaround

Use the following correctly documented constructor pattern: "workers.open(modulePath /* String */, options?);".

Steps to Reproduce

Bug ID: BUG-000156350

Software:

  • ArcGIS Maps SDK for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options