Future::done PHP Méthode

done() public méthode

public done ( $onfulfill, $onreject = NULL )
    public function done($onfulfill, $onreject = NULL)
    {
        $this->then($onfulfill, $onreject)->then(NULL, function ($error) {
            throw new UncatchableException("", 0, $error);
        });
    }