Channel.capacity

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

Get the maximum capacity of the channel.

Returns

The maximum number of items the channel can hold.