Interface IReplyTo<TRequest, TResponse>
Namespace: Apollo.Abstractions
Assembly: Apollo.dll
public interface IReplyTo<in TRequest, TResponse> where TRequest : IRequest<TResponse>
Type Parameters
TRequest
TResponse
Methods
Handle(TRequest, ApolloContext, CancellationToken)
Task<TResponse> Handle(TRequest message, ApolloContext context, CancellationToken cancellationToken = default)
Parameters
message
TRequest
context
ApolloContext
cancellationToken
CancellationToken
Returns
Task<TResponse>