protected cancelRequest ( string $pid, Erro\Error | Exceptio\Exception | |
||
$pid | string | |
$ex | Erro\Error | Exceptio\Exception | |
protected function cancelRequest($pid, $ex)
{
$callback = $this->reqs[$pid]->onCancel();
unset($this->reqs[$pid]);
$callback($ex);
}