parallel\Channel::make
(0.9.0)
parallel\Channel::make — Access
说明
Shall make an unbuffered channel with the given name
Shall make a buffered channel with the given name and capacity
参数
name-
The name of the channel.
capacity-
May be Channel::Infinite or a positive integer
Exceptions
警告
Shall throw parallel\Channel\Error\Existence if channel already exists.