mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-31 12:14:44 -04:00
* feat: implement anonymous usage data collection Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
17 lines
538 B
C#
17 lines
538 B
C#
namespace API.Interfaces
|
|
{
|
|
public interface ITaskScheduler
|
|
{
|
|
/// <summary>
|
|
/// For use on Server startup
|
|
/// </summary>
|
|
void ScheduleTasks();
|
|
void ScanLibrary(int libraryId, bool forceUpdate = false);
|
|
void CleanupChapters(int[] chapterIds);
|
|
void RefreshMetadata(int libraryId, bool forceUpdate = true);
|
|
void CleanupTemp();
|
|
void RefreshSeriesMetadata(int libraryId, int seriesId);
|
|
void ScheduleStatsTasks();
|
|
void CancelStatsTasks();
|
|
}
|
|
} |