GetRemainingCapacityAsync Method
GetRemainingCapacityAsync()
Returns the remaining capacity of the ringbuffer.
Declaration
Task<long> GetRemainingCapacityAsync()
Returns
Task<long> | the remaining capacity. |
Remarks
Returns the remaining capacity of the ringbuffer. The returned value could be stale as soon as it is returned. If ttl is not set, the remaining capacity will always be the capacity.