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.