Php/docs/parallel-channel.construct

提供:Dev Guides
< Php
移動先:案内検索

parallel\Channel::__construct

(1.1.0)

parallel\Channel::__constructChannel Construction


説明

public parallel\Channel::__construct ( )

Shall make an anonymous unbuffered channel

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

Shall make an anonymous buffered channel with the given capacity


パラメータ

capacity
May be Channel::Infinite or a positive integer