Table of Contents

PublishAsync Method

Definition

Namespace
Savvyio.EventDriven.Messaging
Assemblies
Savvyio.EventDriven.Messaging.dll
Source
src/Savvyio.EventDriven.Messaging/InMemoryEventBus.cs

PublishAsync(IMessage<IIntegrationEvent>, Action<AsyncOptions>)

Publishes the specified event asynchronous using Publish-Subscribe Channel/Pub-Sub MEP.

public Task PublishAsync(IMessage<IIntegrationEvent> @event, Action<AsyncOptions> setup = null)

Parameters

event IMessage<IIntegrationEvent>

The IIntegrationEvent to publish.

setup Action<AsyncOptions>

The AsyncOptions which may be configured.

Returns

Task

A Task that represents the asynchronous operation.