waitMs * 1000); } while (microtime(true) - $start < $this->timeoutMs / 1000); if ($returnResult) { return false; } throw $lastException; } protected function failureDescription(mixed $other): string { return 'the given probe was satisfied within ' . $this->timeoutMs . 'ms.'; } public function toString(): string { return 'Eventually'; } }