Skip to main content

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
TypeNameDescription
Taskurai.Worker.TaskuraiTaskContextcontextTask context
System.Threading.CancellationTokencancellationTokenCancellation token