public async Task Superviser(string action, string args) { // for send/idle(stop send), trigger Logger actions too if (action == "send") { FileLogger.StartNewSession(); } else if (action == "idle") { FileLogger.StopSession(); } await Clients.Group(SuperviserGroupName).InvokeAsync(SuperviserGroupName, action, args); }
public void StartBroadcast() { Console.WriteLine("Starting Broadcast..."); FileLogger.StartNewSession(); perfTicker.Timer.Start(); }