mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-11-04 05:15:19 -05:00
11 lines
558 B
C#
11 lines
558 B
C#
using Cleanuparr.Domain.Entities;
|
|
using Cleanuparr.Domain.Enums;
|
|
using Cleanuparr.Infrastructure.Features.DownloadClient;
|
|
|
|
namespace Cleanuparr.Infrastructure.Services.Interfaces;
|
|
|
|
public interface IQueueRuleEvaluator
|
|
{
|
|
Task<(bool ShouldRemove, DeleteReason Reason, bool DeleteFromClient, bool ChangeCategory)> EvaluateStallRulesAsync(ITorrentItemWrapper torrent);
|
|
Task<(bool ShouldRemove, DeleteReason Reason, bool DeleteFromClient, bool ChangeCategory)> EvaluateSlowRulesAsync(ITorrentItemWrapper torrent, Func<Task<bool>>? altSpeedProbe = null);
|
|
} |