public function isCancelled();
/** * @override * @inheritDoc */ public function isCancelled() { return !$this->isPending() && $this->result->isCancelled(); }