Easily call Services in separate threads with WebWorkers and SharedWebWorkers. Run Blazor WASM in the ServiceWorker.

blazor csharp dotnet javascript multithreading serviceworker webassembly webbrowser webworkers
1 Open Issue Need Help Last updated: Dec 2, 2024

Open Issues Need Help

View All on GitHub
Blazor Web Workers

AI Summary: The issue is a `ReferenceError: Range is not defined` occurring during Blazor WASM app startup, specifically impacting the FluentUI library used in the application. The error originates from `spawndev.blazorjs.webworkers.faux-env.js`, suggesting a conflict between the SpawnDev.BlazorJS.WebWorkers library and FluentUI's reliance on the `Range` object, which might not be available in the WebWorker context. The task involves debugging this conflict, potentially by investigating FluentUI's compatibility with WebWorkers, ensuring necessary polyfills are included, or adjusting the library's initialization to avoid the `Range` object in the WebWorker environment. Adding `webworker-enabled` to relevant scripts might not be sufficient if the problem lies within FluentUI's internal dependencies.

Complexity: 4/5
good first issue compatibility

Easily call Services in separate threads with WebWorkers and SharedWebWorkers. Run Blazor WASM in the ServiceWorker.

C#
#blazor#csharp#dotnet#javascript#multithreading#serviceworker#webassembly#webbrowser#webworkers