WarcIndexManagerEvents.cs 469 B

12345678910111213141516
  1. using WarcViewerBlazorWinForm.Backend.IO;
  2. namespace WarcViewerBlazorWinForm.Backend.Warc;
  3. internal record WarcIndexerLoadRequestEvent(FileDescriptor FileDescriptor);
  4. internal record WarcIndexerStatusRequestEvent;
  5. internal record WarcIndexerStatusEvent(
  6. bool IsRunning,
  7. int QueueLength,
  8. FileDescriptor? FileDescriptor = null,
  9. float? Position = null
  10. );
  11. internal record WarcIndexerLoadedEvent(IReadOnlyCollection<WarcIndexEntry> IndexEntries);