TryGetCursor(StreamId, StreamSequenceToken?)
public QueueCacheCursorResult<object> TryGetCursor(StreamId streamId, StreamSequenceToken? sequenceToken) Attempts to get a cursor into the cache to read events from a stream.
Parameters
streamIdStreamId- The stream identifier.
sequenceTokenStreamSequenceToken?- The position from which to begin reading.
Returns
A successful result containing the acquired cursor, or a cache-miss result containing the unavailable position and current cache bounds.
