Php/docs/parallel-events.addfuture

来自菜鸟教程
跳转至:导航、​搜索

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

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