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

parallel\Events::addFuture

PHP function Edit on GitHub ✎

(0.9.0)

Targets

Description

parallel\Events::addFuture(string $name, parallel\Future $future): void

Shall watch for events on the given future

Exceptions

Warning

Shall throw parallel\Events\Error\Existence if target with the given name was already added.

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