WorkQueue.capacity

size_t capacity() @property const pure @safe nothrow @nogc

Get the maximum capacity of the queue.

Returns

The maximum capacity, or 0 if unbounded.