using System.Threading.Tasks; namespace API.Interfaces { public interface ITaskScheduler { /// /// For use on Server startup /// void ScheduleTasks(); Task ScheduleStatsTasks(); void ScheduleUpdaterTasks(); 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, bool forceUpdate = false); void ScanSeries(int libraryId, int seriesId, bool forceUpdate = false); void CancelStatsTasks(); void RunStatCollection(); } }