Interface IPublisher<TEvent>
The IPublisher interface, that all publishers have to implement.
Namespace:
Assembly: .dll
Syntax
public interface IPublisher<TEvent>
Type Parameters
| Name | Description |
|---|---|
| TEvent |
Methods
publish(TEvent event)
Publishes a new event to the WebApi ApiEventBus.
Declaration
public abstract void publish(TEvent event)
Parameters
| Type | Name | Description |
|---|---|---|
| TEvent | event | The event to publish |