parallel\Events::addFuture

(0.9.0)

parallel\Events::addFutureTargets

说明

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

Shall watch for events on the given future

Exceptions

警告

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