channel
fn
Channel!T * channel(T)(size_t capacity)Create a bounded channel with the specified capacity.
Parameters
capacity | Maximum number of items the channel can hold. |
Returns
A pointer to a new channel allocated on the GC heap.