Interface IExecutable
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Defines a contract for executable operations, providing mechanisms to execute tasks and set their completion status.
[TypeScriptUnavailable]
public interface IExecutable : IAsyncDisposable
- Inherited Members
Properties
Context
ITaskExecutionContext Context { get; init; }
Property Value
Methods
ExecuteAsync()
Executes the task asynchronously and returns the resulting TaskStatus upon completion.
Task<TaskStatus> ExecuteAsync()
Returns
- Task<TaskStatus>
A task that represents the asynchronous execution operation, returning the TaskStatus that should be applied after execution.