PHP 7.4.9 Released!

parallel\Channel::__construct

(1.1.0)

parallel\Channel::__constructChannel Construction

Описание

public parallel\Channel::__construct ( void )

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

add a note add a note

User Contributed Notes 1 note

up
0
frame86 at live dot com
3 months ago
Please note $capacity unit is 1 MiB each, not bytes
To Top