Table of Contents

Delegate RequestHandlerDelegate<TResponse>

Namespace
Mediarion
Assembly
Mediarion.dll

The rest of the pipeline, as something a behaviour can call.

[SuppressMessage("Naming", "CA1711:Identifiers should not have incorrect suffix", Justification = "The name is part of the API this library is a drop-in for. Renaming it would mean editing every behaviour written against the other one.")]
public delegate Task<TResponse> RequestHandlerDelegate<TResponse>(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Cancels the operation.

Returns

Task<TResponse>

The response from the next step, or from the handler.

Type Parameters

TResponse

What the request answers with.