#nullable enable using System; using Duplicati.Library.Utility; using Duplicati.Server; namespace Duplicati.Library.RestAPI.Abstractions; public interface IWorkerThreadsManager { void Spawn(Action item); Tuple? CurrentTask { get; } WorkerThread? WorkerThread { get; } void UpdateThrottleSpeeds(); long AddTask(Runner.IRunnerData data, bool skipQueue = false); }