using System.Threading;
using System.Threading.Tasks;

namespace StellaOps.Scanner.Worker.Processing;

public interface IScanAnalyzerDispatcher
{
    ValueTask ExecuteAsync(ScanJobContext context, CancellationToken cancellationToken);
}

public sealed class NullScanAnalyzerDispatcher : IScanAnalyzerDispatcher
{
    public ValueTask ExecuteAsync(ScanJobContext context, CancellationToken cancellationToken)
        => ValueTask.CompletedTask;
}
