php8.5
Home/ Manual/ parallel / events/ parallel\Events::addChannel

parallel\Events::addChannel

PHP function Edit on GitHub ✎

(0.9.0)

Targets

Description

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.

Source: reference/parallel/parallel/events/addchannel.xml · from the official PHP manual (php/doc-en)