Future::done PHP 메소드

done() 공개 메소드

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