Php/docs/parallel-events.addchannel
来自菜鸟教程
parallel\Events::addChannel
(0.9.0)
parallel\Events::addChannel — Targets
说明
public parallel\Events::addChannel
( parallel\Channel $channel
) : void
Shall watch for events on the given channel
Exceptions
Warning Shall throw parallel\Events\Error\Existence if channel was already added.