wabbajack/Wabbajack.RateLimiter/IJob.cs
2022-05-26 23:41:11 -06:00

14 lines
373 B
C#

using System.Threading;
using System.Threading.Tasks;
namespace Wabbajack.RateLimiter;
public interface IJob
{
public ulong ID { get; }
public long? Size { get; set; }
public long Current { get; }
public string Description { get; }
public ValueTask Report(int processedSize, CancellationToken token);
public void ReportNoWait(int processedSize);
}