Skip to content

StreamSequenceToken

class

Namespace: Orleans.Streams

Handle representing stream sequence number/token. Consumer may subscribe to the stream while specifying the start of the subscription sequence token. That means that the stream infrastructure will deliver stream events starting from this sequence token.
[Orleans.GenerateSerializer]
public abstract class StreamSequenceToken : IComparable<StreamSequenceToken>, IEquatable<StreamSequenceToken>

Properties

  • EventIndex Gets the number of events in batch prior to this event
  • SequenceNumber Gets the number of event batches in stream prior to this event batch

Methods

  • CompareTo(StreamSequenceToken)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
  • Equals(StreamSequenceToken)Indicates whether the current object is equal to another object of the same type.