Threads support in Blazor WebAssembly #22885
-
I was wondering if you have are any plans to support threads in Blazor WebAssembly, and perhaps some estimated dates for a preview version we could try. I would put this as a comment in #14253 but that issue is now locked. I think that the scenario might have changed since that issue was created. Now there seems to be a proposal to support threads in WebAssembly, although perhaps the spec is not finished yet. Nevertheless, Chrome seems to have experimental support for it already: Right now, developing a completely standalone Blazor WebAssembly app (i.e. without a server) that involves any CPU-intensive task is not very ideal, given that this blocks the UI thread. Just for completeness, this is what I am using Blazor WebAssembly for (generating fractal images). I tried the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@fernandreu thanks for contacting us. This depends on the maturity of the Browser support + support in the underlying .NET Runtime (mono). It is likely that we move there until all major browsers support threading and the runtime does the work to enable it. |
Beta Was this translation helpful? Give feedback.
@fernandreu thanks for contacting us.
This depends on the maturity of the Browser support + support in the underlying .NET Runtime (mono). It is likely that we move there until all major browsers support threading and the runtime does the work to enable it.