Php/docs/parallel-channel.send

来自菜鸟教程
跳转至:导航、​搜索

parallel\Channel::send

(0.9.0)

parallel\Channel::sendSharing


说明

public parallel\Channel::send ( mixed $value ) : void

Shall send the given value on this channel


Exceptions

Warning Shall throw parallel\Channel\Error\Closed if channel is closed.


Warning Shall throw parallel\Channel\Error\IllegalValue if value is illegal.