wabbajack/Wabbajack.RateLimiter/IJob.cs

13 lines
324 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
{
public ulong ID { get; }
2021-10-23 16:51:17 +00:00
public long? Size { get; set; }
public long Current { get; }
public string Description { get; }
2021-10-23 16:51:17 +00:00
public ValueTask Report(int processedSize, CancellationToken token);
2021-09-27 12:42:46 +00:00
}