We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f54bf6 commit 88a5fa5Copy full SHA for 88a5fa5
README.md
@@ -67,6 +67,7 @@ Example (see the [demo project](src/BlazorWorker.Demo/Client/Pages) for a fully
67
// MyCPUIntensiveService.cs
68
public class MyCPUIntensiveService {
69
public int MyMethod(int parameter) {
70
+ int i = 1;
71
while(i < 5000000) i += (i*parameter);
72
return i;
73
}
@@ -76,6 +77,7 @@ public class MyCPUIntensiveService {
76
77
```cs
78
// .razor view
79
@using BlazorWorker.BackgroundServiceFactory
80
+@using BlazorWorker.Core
81
@inject IWorkerFactory workerFactory
82
83
<button @onclick="OnClick">Test!</button>
0 commit comments