Add events aggregator

This commit is contained in:
2025-11-16 16:52:06 +09:00
parent 7991c558cd
commit 6abff9cc7e
7 changed files with 49 additions and 32 deletions

View File

@ -5,8 +5,6 @@ namespace Hcs.WebApp.BackgroundServices
{
public class ResultGetState
{
public delegate void OperationEnded(int operationId, int campaignId, DateTime endedAt, string failureReason);
private readonly ConcurrentQueue<Operation> operationsInQueue = new();
private readonly HashSet<Operation> operationsInProcess = [];