mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
14 lines
373 B
C#
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);
|
|
} |