Creates direct or buffered channels. Channels up to a certain limit use an fixed-size-array backed queue otherwise they use a linked-list-based queue. To create an unbounded channel, pass in Int.MaxValue as the capacity.
Creates direct or buffered channels. Channels up to a certain limit use an fixed-size-array backed queue otherwise they use a linked-list-based queue. To create an unbounded channel, pass in Int.MaxValue as the capacity.