mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-23 21:12:22 +00:00
19 lines
527 B
C#
19 lines
527 B
C#
using System.Threading.Tasks;
|
|
using Hangfire;
|
|
using MalwareMultiScan.Shared.Message;
|
|
|
|
namespace MalwareMultiScan.Shared.Services.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Scan background job.
|
|
/// </summary>
|
|
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Delete)]
|
|
public interface IScanBackgroundJob
|
|
{
|
|
/// <summary>
|
|
/// Start scan.
|
|
/// </summary>
|
|
/// <param name="message">Scan queue message.</param>
|
|
Task Process(ScanQueueMessage message);
|
|
}
|
|
} |