Constructor AgentTaskSchedulerService
- Namespace
- Oscova.Agents.Tasks
- Assembly
- Oscova.Agents.dll
AgentTaskSchedulerService(IServiceProvider, NotificationHub<TaskStatusUpdate>, ILogger<AgentTaskSchedulerService>)
Background scheduler that starts enabled agent tasks when their schedules become due.
public AgentTaskSchedulerService(IServiceProvider serviceProvider, NotificationHub<TaskStatusUpdate> taskStatusNotifications, ILogger<AgentTaskSchedulerService> logger)Parameters
serviceProviderIServiceProvider-
The root service provider used to create scoped task services.
taskStatusNotificationsNotificationHub<TaskStatusUpdate>-
The notification hub used to publish task status updates.
loggerILogger<AgentTaskSchedulerService>-
The logger used for scheduler activity and failures.