SendAsync Method
Definition
- Assemblies
- Savvyio.Commands.Messaging.dll
SendAsync(IEnumerable<IMessage<ICommand>>, Action<AsyncOptions>)
Sends the specified messages whose generic type argument is ICommand asynchronous using Point-to-Point Channel/P2P MEP.
public Task SendAsync(IEnumerable<IMessage<ICommand>> messages, Action<AsyncOptions> setup = null)
Parameters
messagesIEnumerable<IMessage<ICommand>>The ICommand enclosed messages to send.
setupAction<AsyncOptions>The AsyncOptions which may be configured.