parallel\Channel::__construct
PHP Manual
PHP Manual»parallel\Channel»parallel\Channel::__construct

parallel\Channel::__construct

(1.1.0)

parallel\Channel::__construct — Channel Construction

说明

public function parallel\Channel::__construct()

Shall make an anonymous unbuffered channel

public function parallel\Channel::__construct(int $capacity)

Shall make an anonymous buffered channel with the given capacity

参数

capacity

May be Channel::Infinite or a positive integer

To Top