Interface ISender<TRequest>
Defines a producer/sender channel used for interacting with other subsystems (out-process/inter-application) to do something (e.g., change the state).
public interface ISender<in TRequest> where TRequest : IRequest
  Type Parameters
TRequestThe type of the model to invoke on a handler.
Methods
SendAsync(IEnumerable<IMessage<TRequest>>, Action<AsyncOptions>)
Sends the specified messages asynchronous using Point-to-Point Channel/P2P MEP.
Task SendAsync(IEnumerable<IMessage<in TRequest>> messages, Action<AsyncOptions> setup = null)
  Parameters
messagesIEnumerable<IMessage<TRequest>>The messages to send.
setupAction<AsyncOptions>The AsyncOptions which may be configured.