GetHeadSequenceAsync Method
GetHeadSequenceAsync()
Returns the sequence of the head.
Declaration
Task<long> GetHeadSequenceAsync()
Returns
Task<Int64> | the sequence of the head. |
Remarks
Returns the sequence of the head. The head is the side of the ringbuffer where the oldest items in the ringbuffer are found. If the RingBuffer is empty, the head will be one more than the tail. The initial value of the head is 0 (1 more than tail).