OnlineSalesAutoCrop/Api/OnlineSalesAutoCrop.CoreAPI.Services/Contracts/BackgroupJobs/IBackgroundJobService.cs

14 lines
353 B
C#
Raw Normal View History

2026-07-20 18:30:13 +06:00

using Hangfire;
using System.Threading;
using System.Threading.Tasks;
namespace OnlineSalesAutoCrop.CoreAPI.Services.Contracts.BackgroupJobs;
public interface IBackgroundJobService
{
[Queue("sap_order_send")]
[DisableConcurrentExecution(timeoutInSeconds: 40 * 60)]
Task ExecuteSendingOrderAsync(CancellationToken cancellationToken);
}