using System.Threading.Channels; using HaDbMigration.Models; namespace HaDbMigration.Services.Interfaces; public interface IPostgresWriterService { Task WriteTableAsync( TableDescriptor table, ChannelReader> reader, CancellationToken cancellationToken); Task GetRowCountAsync(string tableName, CancellationToken cancellationToken); }