Files
Nexus.Reader/src/NexusReader.UI.Shared/Services/ISyncService.cs
T

12 lines
343 B
C#

using FluentResults;
namespace NexusReader.UI.Shared.Services;
public interface ISyncService
{
Task<Result> InitializeAsync();
Task<Result> UpdateProgressAsync(string pageId, Guid ebookId, double progress, string? chapterTitle, int chapterIndex);
event Func<string, DateTime, Task> OnProgressReceived;
Task DisposeAsync();
}