Table of Contents

SendAsync Method

Definition

Namespace
Savvyio.Commands.Messaging
Assemblies
Savvyio.Commands.Messaging.dll
Source
src/Savvyio.Commands.Messaging/InMemoryCommandQueue.cs

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

messages IEnumerable<IMessage<ICommand>>

The ICommand enclosed messages to send.

setup Action<AsyncOptions>

The AsyncOptions which may be configured.

Returns

Task

A Task that represents the asynchronous operation.