Table of Contents

IRequestReplyActivator<TRequest> Interface

Definition

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

Specifies a way of invoking Request-Reply/In-Out MEP delegates that handles TRequest.

public interface IRequestReplyActivator<in TRequest>

Type Parameters

TRequest

The type of the model to invoke on a handler.

Methods

Name Description
TryInvokeAsync<TResponse>(TRequest, CancellationToken)

Invokes (if registered) the function delegate handling the specified request.

TryInvoke<TResponse>(TRequest, out TResponse)

Invokes (if registered) the delegate handling the specified request.

See Also