using Hcs.Broker; using Hcs.WebApp.Data.Hcs; namespace Hcs.WebApp.BackgroundServices.OperationExecutors { public abstract class ExecutorBase(IClient client, IServiceScopeFactory scopeFactory, Operation operation) : IExecutor { protected readonly IClient client = client; protected readonly IServiceScopeFactory scopeFactory = scopeFactory; protected readonly Operation operation = operation; public abstract Task ExecuteAsync(CancellationToken cancellationToken); } }