Interface ITaskuraiCommand
Taskurai command interface
Assembly: Taskurai.Worker.dll
Declaration
public interface ITaskuraiCommand
Methods
ExecuteAsync(TaskuraiTaskContext, CancellationToken)
Execute the command handler
Declaration
Task ExecuteAsync(TaskuraiTaskContext context, CancellationToken cancellationToken)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name | Description |
---|---|---|
Taskurai.Worker.TaskuraiTaskContext | context | Task context |
System.Threading.CancellationToken | cancellationToken | Cancellation token |