Refactor code structure for improved readability and maintainability

This commit is contained in:
MaddoScientisto 2026-02-21 10:40:12 +01:00
commit 4f488bae45
78 changed files with 3309 additions and 1570 deletions

View file

@ -0,0 +1,20 @@
using Microsoft.AspNetCore.SignalR;
using System.Threading.Tasks;
namespace TwitchArchive.Web.Hubs
{
public class ProcessOutputHub : Hub
{
// methods are server-driven; clients listen on ReceiveLine
public Task JoinStreamerGroup(string streamer)
{
return Groups.AddToGroupAsync(Context.ConnectionId, streamer);
}
public Task LeaveStreamerGroup(string streamer)
{
return Groups.RemoveFromGroupAsync(Context.ConnectionId, streamer);
}
}
}