Kraken\Channel\Record\RequestRecord::cancel PHP Méthode

cancel() public méthode

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