IBatchContainer
interface
Namespace: Orleans.Streams
Each queue message is allowed to be a heterogeneous, ordered set of events.
IBatchContainer contains these events and allows users to query the batch for a specific type of event. public interface IBatchContainerProperties
SequenceTokenGes the stream sequence token for the start of this batch.StreamIdGes the stream identifier for the stream this batch is part of.
Methods
GetEventsGets events of a specific type from the batch.ImportRequestContextGives an opportunity toIBatchContainerto set any data in theRequestContextbefore thisIBatchContaineris sent to consumers. It can be the data that was set at the time event was generated and enqueued into the persistent provider or any other data.
