/** * {@inheritdoc} */ public function isRejected() : bool { return $this->result->isRejected(); // Rejected once cancellation function is invoked. }
/** * {@inheritdoc} */ public function isRejected() : bool { return $this->awaitable->isRejected(); }