BlazorWorker icon indicating copy to clipboard operation
BlazorWorker copied to clipboard

Library for creating DotNet Web Worker threads/multithreading in Client side Blazor

Results 20 BlazorWorker issues
Sort by recently updated
recently updated
newest added

The following code mirrors an old version of the blazor assembly loader https://github.com/Tewr/BlazorWorker/blob/ef8039f905cda29799d1c60be5c7da15fb93e9b5/src/BlazorWorker/BlazorWorker.js#L40 The "new" (3.2.0?) version of blazor uses resource caching with fetch (service worker?), this should be mirrored...

enhancement

Also an extension method `CancellationToken.ThrowIfCancellationRequestedAsync()` which would call `CancellationToken.ThrowIfCancellationRequested` after having called `Task.Delay(1)`, to allow for Context switch to read incoming requests for cancellation

enhancement

Thanks for this library. I noticed in the source it is using Worker.js and interested if you have plans to use the SharedWorker.js instead? Not 100% knowing what i'm talking...

enhancement

https://github.com/tdupont750/tact.net/blob/master/framework/src/Tact/Reflection/EfficientInvoker.cs this is worth a check

enhancement

I am running into the issue of passing a file type into the function in runasync as shown here: ``` var service = await worker.CreateBackgroundServiceAsync( options => options .AddConventionalAssemblyOfService() .AddAssemblies("BlazorInputFile.dll")...

enhancement

Implement Stream support in the service contract (either as an argument or as a return type).

enhancement

Hi, I totally like your library but I need to send large arrays back and forth between my worker and the main thread. Would it be possible to provide a...

… also a baseclass for just adding known types to the Serialize.Linq JsonSerializer. Really the same goal as #73 but stays away from modifying `BlazorWorker.Core`, as core should not deal...

I have a few questions regarding the use of `IWorker` instances and `IWorkerBackgroundService` instances. 1. Having created a background service for on a `Worker` instance, is there any point in...

question

Threads [will not be supported in .net9 blazor wasm](https://github.com/dotnet/aspnetcore/issues/17730#issuecomment-2059602250), so this library still fills a void in blazor. Any regressions in .net9 should be anticipated as opposed to previous releases...