mirror of
https://github.com/duplicati/duplicati.git
synced 2026-05-06 23:29:31 -04:00
9f79025744
Re-implemented everything using ASP.NET. Changed some requests to use JSON instead of FORM data. Some work towards deleting the FIXMEGlobal instance. Auth is missing, XSRF does not work correctly.
17 lines
439 B
C#
17 lines
439 B
C#
#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();
|
|
|
|
long AddTask(Runner.IRunnerData data, bool skipQueue = false);
|
|
} |