@page "/script-manager"
@attribute [Authorize]
@implements IAsyncDisposable
@using RobotNet.WebApp.Clients
@using RobotNet.WebApp.Scripts.Components.Dashboards
@inject ProcessorHubClient ProcessorHub
Script Manager
@code {
protected override async Task OnInitializedAsync()
{
await base.OnInitializedAsync();
await ProcessorHub.StartAsync();
}
public async ValueTask DisposeAsync()
{
await ProcessorHub.StopAsync();
}
}