Skip to content

MemoryAdapterFactory<TSerializer>.QueueMessageBatchAsync(StreamId, IEnumerable<T>, StreamSequenceToken, Dictionary<string, object>)

QueueMessageBatchAsync(StreamId, IEnumerable<T>, StreamSequenceToken, Dictionary<string, object>)

View source
public Task QueueMessageBatchAsync<T>(StreamId streamId, IEnumerable<T> events, StreamSequenceToken token, Dictionary<string, object> requestContext)
Writes a set of events to the queue as a single batch associated with the provided streamId.

Parameters

streamIdStreamId
The stream identifier.
eventsIEnumerable<T>
The events.
tokenStreamSequenceToken
The token.
requestContextDictionary<string, object>
The request context.

Returns

Task.