Interface IEventInbox
Assembly: Volo.Abp.EventBus.Abstractions.dll
Syntax
public interface IEventInbox
Methods
DeleteOldEventsAsync()
Declaration
Task DeleteOldEventsAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
EnqueueAsync(IncomingEventInfo)
Declaration
Task EnqueueAsync(IncomingEventInfo incomingEvent)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
ExistsByMessageIdAsync(string)
Declaration
Task<bool> ExistsByMessageIdAsync(string messageId)
Parameters
| Type |
Name |
Description |
| string |
messageId |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><bool> |
|
GetWaitingEventsAsync(int, CancellationToken)
Declaration
Task<List<IncomingEventInfo>> GetWaitingEventsAsync(int maxCount, CancellationToken cancellationToken = default)
Parameters
| Type |
Name |
Description |
| int |
maxCount |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.Collections.Generic.List<T><IncomingEventInfo>> |
|
MarkAsProcessedAsync(Guid)
Declaration
Task MarkAsProcessedAsync(Guid id)
Parameters
| Type |
Name |
Description |
| System.Guid |
id |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Extension Methods