Interface IHandle<InT, OutT>
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
InTThe item to be handled.
messageContext
MessageContext
Returns
- ValueTask<OutT>
A task that represents the asynchronous operation.