/** * {@inheritdoc} */ public function wait($seconds = 1) { $this->delegateWaiter->wait($seconds); $this->secondsEllapsed += $seconds; if ($this->timeOut <= $this->secondsEllapsed) { throw Exception\TimedOutExceeded::withValue($this->timeOut); } }
/** * {@inheritdoc} */ public function wait($seconds = 0) { $this->waiter->wait($this->time); }
/** * {@inheritdoc} */ public function wait($seconds = 0) { $time = $this->getNextTime($seconds); $this->waiter->wait($time); ++$this->currentExponent; }