Files
duplicati/Duplicati.Library.RestAPI/Abstractions/IWorkerThreadsManager.cs
T

17 lines
439 B
C#
Raw Normal View History

2024-03-15 16:51:01 +01:00
#nullable enable
using System;
using Duplicati.Library.Utility;
using Duplicati.Server;
namespace Duplicati.Library.RestAPI.Abstractions;
public interface IWorkerThreadsManager
{
void Spawn(Action<Runner.IRunnerData> item);
Tuple<long, string>? CurrentTask { get; }
WorkerThread<Runner.IRunnerData>? WorkerThread { get; }
void UpdateThrottleSpeeds();
2024-06-07 15:56:43 +02:00
long AddTask(Runner.IRunnerData data, bool skipQueue = false);
2024-03-15 16:51:01 +01:00
}