Skip to content

Lupusa87/BlazorWebWorkerHelper

Repository files navigation

Blazor Web Worker Helper

If you like my blazor works and want to see more open sourced repos please support me with paypal donation

Please send email if you consider to hire me.

This repo contains pure Web Worker library for blazor, you can work with dedicated or shared web workers.

Helper is available on nuget

For install use command - Install-Package BlazorWebWorkerHelper

After installing package please add bellow script to your index.html

<script src="_content/BlazorWebWorkerHelper/BwwJsInterop.js"></script>

You can use web worker in blazor easy and convenient way using this library.

For example this helper was used for dedicated web worker here and for shared web worker here

You can see code for dedicated here and for shared here

Any PRs are welcome.