using LiquidCode.Tester.Common.Models;

namespace LiquidCode.Tester.Gateway.Services;

public interface IWorkerClientService
{
    /// <summary>
    /// Sends a submit to the appropriate worker based on the language
    /// </summary>
    /// <param name="submit">Submit data</param>
    /// <param name="packagePath">Local path to the package that will be streamed to the worker</param>
    /// <param name="deletePackageAfterSend">Indicates whether the package file should be removed after upload</param>
    Task SendToWorkerAsync(SubmitForTesterModel submit, string packagePath, bool deletePackageAfterSend);
}
