parallel\Channel::__construct
PHP function
Edit on GitHub ✎
(1.1.0)
Channel Construction
Description
parallel\Channel::__construct()
Shall make an anonymous unbuffered channel
parallel\Channel::__construct(int $capacity)
Shall make an anonymous buffered channel with the given capacity
Parameters
capacityMay be
Channel::Infiniteor a positive integer