You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/javascript/common/configuration/integrations/webworker.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,14 +21,14 @@ notSupported:
21
21
22
22
_Import name: `Sentry.webWorkerIntegration`_
23
23
24
-
This integration, together with `Sentry.registerWorker()`, establishes communication between the browser's main thread and one or multiple [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API)s.
24
+
This integration, together with `Sentry.registerWorker()`, establishes communication between the browser's main thread and one or more [WebWorkers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API).
25
25
It listens to worker messages from the passed workers and forwards them to the main thread.
26
26
27
27
Read our <PlatformLinkto="/best-practices/web-workers/">Web Worker Guide</PlatformLink> for more information.
28
28
29
29
<Expandabletitle="What does this integration do?">
30
30
31
-
This integration listens to a message, sent from the worker when it calls `Sentry.registerWorker({ self })`.
31
+
This integration listens to a message sent from the worker when it calls `Sentry.registerWorker({ self })`.
32
32
The purpose is to sync source map information (debugIds) between the main thread and the worker so that worker
33
33
errors caught by the main thread SDK are properly mapped to the worker's source code.
0 commit comments