Interface ITaskRunner
The interface any processor for implementing tasks implements
Namespace: LemonEdge.API.Core.Tasks
Assembly: LemonEdge.API.dll
Syntax
public interface ITaskRunner : IProcessor
Properties
Services
Provides the IServiceContext giving access to core LemonEdge components.
Declaration
IServiceContext Services { get; }
Property Value
Type | Description |
---|---|
IServiceContext |
Task
The current task being processed by this task runner
Declaration
IServerTask Task { get; }
Property Value
Type | Description |
---|---|
IServerTask |
TimeStarted
The datetime stamp the processing of this task was started
Declaration
DateTime TimeStarted { get; }
Property Value
Type | Description |
---|---|
DateTime |
Methods
CreateUpdater()
Creates a new context for querying and updating the entire lemonedge platform
Can be used by tasks that perform multiple isolated actions
Declaration
Task<IEntityUpdater> CreateUpdater()
Returns
Type | Description |
---|---|
Task<IEntityUpdater> | A new context for querying and updating the entire lemonedge platform |