Table of Contents

Class HandlerResultExtensions

Namespace
CarrotMQ.Core.Handlers.HandlerResults
Assembly
CarrotMQ.Core.dll

Extension methods for IHandlerResult.

public static class HandlerResultExtensions
Inheritance
HandlerResultExtensions
Inherited Members

Methods

AsTask(IHandlerResult)

Converts the current IHandlerResult instance into a completed Task<TResult>.

public static Task<IHandlerResult> AsTask(this IHandlerResult handlerResult)

Parameters

handlerResult IHandlerResult

Returns

Task<IHandlerResult>

A task representing the asynchronous completion of the handling result.