MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / registerWebWorkerWasm

Function registerWebWorkerWasm

packages/wasm/src/index.ts:160–162  ·  view source on GitHub ↗
({ self }: RegisterWebWorkerWasmOptions)

Source from the content-addressed store, hash-verified

158 * - `self`: The worker's global scope (self).
159 */
160export function registerWebWorkerWasm({ self }: RegisterWebWorkerWasmOptions): void {
161 patchWebAssemblyWithForwarding(self);
162}
163
164/**
165 * Patches the WebAssembly object in the worker scope and forwards

Callers 1

webworker.test.tsFile · 0.90

Calls 1

Tested by

no test coverage detected