Skip to content

StreamPosition Constructors

Stream position uniquely identifies the position of an event in a stream. If acquiring a stream position for a batch of events, the stream position will be of the first event in the batch.

StreamPosition(StreamId, StreamSequenceToken)

View source
public StreamPosition(StreamId streamId, StreamSequenceToken sequenceToken)
Stream position consists of the stream identity and the sequence token

Parameters

streamIdStreamId
The stream identity.
sequenceTokenStreamSequenceToken
The stream sequence token.