Table of Contents

Interface IHandle<InT, OutT>

Namespace
Microsoft.AutoGen.Contracts
Assembly
Microsoft.AutoGen.Contracts.dll
public interface IHandle<in InT, OutT>

Type Parameters

InT
OutT

Methods

HandleAsync(InT, MessageContext)

Handles the specified item asynchronously.

ValueTask<OutT> HandleAsync(InT item, MessageContext messageContext)

Parameters

item InT

The item to be handled.

messageContext MessageContext

Returns

ValueTask<OutT>

A task that represents the asynchronous operation.