Table of Contents

IFireForgetRegistry<TRequest> Interface

Definition

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

Specifies a Fire-and-Forget/In-Only MEP registry that store delegates responsible for handling type TRequest.

public interface IFireForgetRegistry<in TRequest>

Type Parameters

TRequest

The type of the model to store in the registry.

Methods

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

Registers the specified function delegate handler.

Register<T>(Action<T>)

Registers the specified delegate handler.

See Also