Interface IDistributedEventBus
Assembly: Volo.Abp.EventBus.Abstractions.dll
Syntax
public interface IDistributedEventBus : IEventBus
Methods
PublishAsync(Type, object, bool, bool)
Declaration
Task PublishAsync(Type eventType, object eventData, bool onUnitOfWorkComplete = true, bool useOutbox = true)
Parameters
Type |
Name |
Description |
Type |
eventType |
|
object |
eventData |
|
bool |
onUnitOfWorkComplete |
|
bool |
useOutbox |
|
Returns
PublishAsync<TEvent>(TEvent, bool, bool)
Declaration
Task PublishAsync<TEvent>(TEvent eventData, bool onUnitOfWorkComplete = true, bool useOutbox = true) where TEvent : class
Parameters
Type |
Name |
Description |
TEvent |
eventData |
|
bool |
onUnitOfWorkComplete |
|
bool |
useOutbox |
|
Returns
Type Parameters
Subscribe<TEvent>(IDistributedEventHandler<TEvent>)
Declaration
IDisposable Subscribe<TEvent>(IDistributedEventHandler<TEvent> handler) where TEvent : class
Parameters
Returns
Type Parameters
Extension Methods