public async Task StartMonitoring() { await Groups.Add(Context.ConnectionId, "MonitoringGroup"); _statusHubService.StartMonitoring(Context.ConnectionId); }
public async Task StartMonitoring() { await Groups.AddToGroupAsync(Context.ConnectionId, StatusHubService.MonitoringGroupName); _statusHubService.StartMonitoring(Context.ConnectionId); }