Skip to content

SimpleQueueCache.GetCacheCursor(StreamId, StreamSequenceToken?)

GetCacheCursor(StreamId, StreamSequenceToken?)

virtual
View source
public virtual IQueueCacheCursor GetCacheCursor(StreamId streamId, StreamSequenceToken? token)
Acquire a stream message cursor. This can be used to retrieve messages from the cache starting at the location indicated by the provided token.

Parameters

streamIdStreamId
The stream identifier.
tokenStreamSequenceToken?
The token.

Returns

The queue cache cursor.