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

namespace StellaOps.Scanner.Worker.Processing;

public sealed class NoOpStageExecutor : IScanStageExecutor
{
    public NoOpStageExecutor(string stageName)
    {
        StageName = stageName ?? throw new ArgumentNullException(nameof(stageName));
    }

    public string StageName { get; }

    public ValueTask ExecuteAsync(ScanJobContext context, CancellationToken cancellationToken)
        => ValueTask.CompletedTask;
}
