TryGetCacheCursor(StreamId, StreamSequenceToken?)
virtual
public virtual QueueCacheCursorResult<IQueueCacheCursor> TryGetCacheCursor(StreamId streamId, StreamSequenceToken? token) Attempts to acquire a stream message cursor at the location indicated by the provided token.
Parameters
streamIdStreamId- The stream identifier.
tokenStreamSequenceToken?- The token.
Returns
A successful result containing the acquired cursor, or a cache-miss result containing the unavailable position and current cache bounds.
