using Inspectron.Epson;

namespace EpsonPrintService;

/// <summary>
/// Interface for receiving discovered printer updates
/// </summary>
public interface IDiscoveredPrintersReceiver
{
    /// <summary>
    /// Called when the list of discovered printers has changed
    /// </summary>
    /// <param name="printers">The current list of discovered printers</param>
    Task OnPrintersDiscoveredAsync(IReadOnlyList<DiscoveredPrinter> printers);
}
