Table of Contents

IRequestReplyRegistry<TRequest> Interface

Definition

Namespace
Savvyio.Handlers
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/Handlers/IRequestReplyRegistry.cs

Specifies a Request-Reply/In-Out MEP registry that store delegates responsible for handling type TRequest.

public interface IRequestReplyRegistry<in TRequest>

Type Parameters

TRequest

The type of the model to store in the registry.

Methods

Name Description
RegisterAsync<T, TResponse>(Func<T, CancellationToken, Task<TResponse>>)

Registers the specified function delegate handler.

Register<T, TResponse>(Func<T, TResponse>)

Registers the specified function delegate handler.

See Also