wabbajack/Wabbajack.RateLimiter/IJob.cs

11 lines
256 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
using System.Threading;
using System.Threading.Tasks;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.RateLimiter;
public interface IJob
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public long? Size { get; set; }
public long Current { get; }
public ValueTask Report(int processedSize, CancellationToken token);
2021-09-27 12:42:46 +00:00
}