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

警告

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

警告

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