parallel\Channel::__construct

Channel Construction

Description

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

Parameters

capacity

May be Channel::Infinite or a positive integer