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