Files
HomeAssistant/HaDbMigration/Services/Interfaces/ISqliteReaderService.cs
T
2026-03-12 09:47:49 +02:00

15 lines
397 B
C#

using System.Threading.Channels;
using HaDbMigration.Models;
namespace HaDbMigration.Services.Interfaces;
public interface ISqliteReaderService
{
Task ReadTableAsync(
TableDescriptor table,
ChannelWriter<IReadOnlyList<object?[]>> writer,
CancellationToken cancellationToken);
Task<long> GetRowCountAsync(string tableName, CancellationToken cancellationToken);
}