Files
myAi/Jobs/job-scheduler/Tasks/IJobTask.cs
T
claude 75bc9509c5
Build and Push Docker Images / build (push) Successful in 4m35s
Changes
2026-05-14 14:12:29 +03:00

15 lines
440 B
C#

using Microsoft.Extensions.Configuration;
namespace JobScheduler.Tasks;
/// <summary>
/// A named unit of work invoked by <see cref="JobScheduler.Scheduling.JobSchedulerHostedService"/>.
/// </summary>
public interface IJobTask
{
/// <summary>Matches <c>Jobs:Tasks:*:TaskType</c> in configuration.</summary>
string TaskType { get; }
Task ExecuteAsync(IConfiguration parametersSection, CancellationToken cancellationToken);
}