GetRemainingCapacityAsync Method
GetRemainingCapacityAsync()
Returns the number of additional elements that this queue can ideally
(in the absence of memory or resource constraints) accept without
blocking, or Max
Declaration
Task<int> GetRemainingCapacityAsync()
Returns
Remarks
Note that you cannot always tell if an attempt to insert
an element will succeed by inspecting Get