Table of Contents

IPublisher<TRequest> Interface

Definition

Namespace
Savvyio.Messaging
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/Messaging/IPublisher.cs

Defines a publisher/sender channel for interacting with other subsystems (out-process/inter-application) to be notified (e.g., made aware of something that has happened).

public interface IPublisher<in TRequest> where TRequest : IRequest

Type Parameters

TRequest

The type of the model to invoke on a handler.

Methods

Name Description
PublishAsync(IMessage<TRequest>, Action<AsyncOptions>)

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