protected resolveOrRejectResponse ( string $pid, $exception ) | ||
$pid | string | |
$exception |
protected function resolveOrRejectResponse($pid, $exception)
{
if ($exception !== TaskIncompleteException::class) {
unset($this->reps[$pid]);
$this->handledReps[$pid] = new ResponseRecord($pid, '', TimeSupport::now() + $this->handledRepsTimeout);
}
}