12 lines
343 B
C#
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();
|
|
}
|