using Hcs.Broker;
using Hcs.WebApp.Data.Hcs;

namespace Hcs.WebApp.BackgroundServices.OperationExecutors
{
    public abstract class ExecutorBase(IClient client, IServiceScope scope, Operation operation) : IExecutor
    {
        protected readonly IClient client = client;
        protected readonly IServiceScope scope = scope;
        protected readonly Operation operation = operation;

        public abstract Task<string> ExecuteAsync(CancellationToken cancellationToken);
    }
}
