Interface IHandle<InT, OutT>
public interface IHandle<in InT, OutT>
Type Parameters
InTOutT
Methods
HandleAsync(InT, MessageContext)
Handles the specified item asynchronously.
ValueTask<OutT> HandleAsync(InT item, MessageContext messageContext)
Parameters
itemInTThe item to be handled.
messageContextMessageContext
Returns
- ValueTask<OutT>
A task that represents the asynchronous operation.