Interface IIntegrationEventDispatcher
- Namespace
- Savvyio.EventDriven
- Assembly
- Savvyio.Core.dll
Defines an Integration Event dispatcher that uses Fire-and-Forget/In-Only MEP.
public interface IIntegrationEventDispatcher : IDispatcher
Methods
Publish(IIntegrationEvent)
Publishes the specified request
using Fire-and-Forget/In-Only MEP.
void Publish(IIntegrationEvent request)
Parameters
request
IIntegrationEventThe IIntegrationEvent to publish.
PublishAsync(IIntegrationEvent, Action<AsyncOptions>)
Publishes the specified request
asynchronous using Fire-and-Forget/In-Only MEP.
Task PublishAsync(IIntegrationEvent request, Action<AsyncOptions> setup = null)
Parameters
request
IIntegrationEventThe IIntegrationEvent to publish.
setup
Action<AsyncOptions>The AsyncOptions which may be configured.
Returns
- Task
A System.Threading.Tasks.Task that represents the asynchronous operation.