Interface IApplicationTask
A runnable asynchronous task bundled with the assembly that can be executed on-demand.
Namespace: Steeltoe.Common
Assembly: Steeltoe.Common.dll
Syntax
public interface IApplicationTask
Methods
| Edit this page View SourceRunAsync(CancellationToken)
Executes this task asynchronously.
Declaration
Task RunAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | The token to monitor for cancellation requests. |
Returns
Type | Description |
---|---|
Task |