src/danog/MadelineProto/Async/Parameters.php
public function fetchParametersAsync(): \Generator
    {
        $refetchable = $this->isRefetchable();
        if ($this->fetched && !$refetchable) {
            return $this->params;
        }
        $params = yield call([$this, 'getParameters']);

        if (!$refetchable) {
            $this->params = $params;
        }

        return $params;
    }
public function fetchParametersAsync(): \Generator
    {
        $refetchable = $this->isRefetchable();
        if ($this->fetched && !$refetchable) {
            return $this->params;
        }
        $params = yield call([$this, 'getParameters']);

        if (!$refetchable) {
            $this->params = $params;
        }

        return $params;
    }
public function fetchParametersAsync ( ) : \ Generator { $ refetchable = $ this -> isRefetchable ( ) ; if ( $ this -> fetched && ! $ refetchable ) { return $ this -> params ; } $ params = yield call ( [ $ this , 'getParameters' ] ) ; if ( ! $ refetchable ) { $ this -> params = $ params ; } return $ params ; }
Fetch parameters asynchronously.

@return \Generator
Fetch parameters asynchronously .