Interface IJobHandler
Обработчик заданий.
Namespace:InfinniPlatform.Scheduler
Assembly:InfinniPlatform.Scheduler.Abstractions.dll
Syntax
public interface IJobHandler
Methods
| Improve this Doc View SourceHandle(IJobInfo, IJobHandlerContext)
Обрабатывает задание.
Declaration
Task Handle(IJobInfo jobInfo, IJobHandlerContext context)
Parameters
Type | Name | Description |
---|---|---|
IJobInfo | jobInfo | Информация о задании. |
IJobHandlerContext | context | Контекст обработки задания. |
Returns
Type | Description |
---|---|
Task |