Kraken\Channel\Record\RequestRecord::cancel PHP 메소드

cancel() 공개 메소드

Cancel Request calling cancellation handler.
public cancel ( Erro\Error | Exceptio\Exception | ThrowableProxy $ex ) : mixed
$ex Erro\Error | Exceptio\Exception | Kraken\Throwable\ThrowableProxy
리턴 mixed
    public function cancel($ex)
    {
        $callback = $this->onCancel();
        return $callback($ex);
    }