Skip to content

QueueAdapterExtensions Methods

Extension methods for IQueueAdapter

QueueMessageAsync(IQueueAdapter, StreamId, T, StreamSequenceToken, Dictionary<string, object>)

staticextension
View source
public static Task QueueMessageAsync<T>(this IQueueAdapter adapter, StreamId streamId, T evt, StreamSequenceToken token, Dictionary<string, object> requestContext)
Writes a set of events to the queue as a single batch associated with the provided streamId.

Parameters

adapterIQueueAdapter
The adapter.
streamIdStreamId
The stream identifier.
evtT
The event.
tokenStreamSequenceToken
The token.
requestContextDictionary<string, object>
The request context.

Returns

A System.Threading.Tasks.Task representing the operation.