Interface ICommandQueueProcessor
Assembly: AzureFromTheTrenches.Commanding.Queue.dll
Syntax
public interface ICommandQueueProcessor
Methods
|
Improve this Doc
View Source
DequeueErrorHandler(Exception)
Declaration
Task<bool> DequeueErrorHandler(Exception ex)
Parameters
| Type |
Name |
Description |
| System.Exception |
ex |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
HandleRecievedItemAsync<TCommand>(QueueItem<TCommand>, Int32)
Declaration
Task<bool> HandleRecievedItemAsync<TCommand>(QueueItem<TCommand> item, int maxDequeueCount)
where TCommand : class, ICommand
Parameters
| Type |
Name |
Description |
| QueueItem<TCommand> |
item |
|
| System.Int32 |
maxDequeueCount |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
Type Parameters
| Name |
Description |
| TCommand |
|
|
Improve this Doc
View Source
HandleRecievedItemAsync<TCommand, TResult>(QueueItem<TCommand>, Int32)
Declaration
Task<bool> HandleRecievedItemAsync<TCommand, TResult>(QueueItem<TCommand> item, int maxDequeueCount)
where TCommand : class, ICommand<TResult>
Parameters
| Type |
Name |
Description |
| QueueItem<TCommand> |
item |
|
| System.Int32 |
maxDequeueCount |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
Type Parameters
| Name |
Description |
| TCommand |
|
| TResult |
|