public function stream($options = array(), $limit = null, $pageSize = null) {
        $limits = $this->version->readLimits($limit, $pageSize);

        $page = $this->page($options, $limits['pageSize']);

        return $this->version->stream($page, $limits['limit'], $limits['pageLimit']);
    }
public function stream($options = array(), $limit = null, $pageSize = null) {
        $limits = $this->version->readLimits($limit, $pageSize);

        $page = $this->page($options, $limits['pageSize']);

        return $this->version->stream($page, $limits['limit'], $limits['pageLimit']);
    }
public function stream ( $ options = array ( ) , $ limit = null , $ pageSize = null ) { $ limits = $ this -> version -> readLimits ( $ limit , $ pageSize ) ; $ page = $ this -> page ( $ options , $ limits [ 'pageSize' ] ) ; return $ this -> version -> stream ( $ page , $ limits [ 'limit' ] , $ limits [ 'pageLimit' ] ) ; }
Streams InviteInstance records from the API as a generator stream.
This operation lazily loads records as efficiently as possible until the
limit
is reached.
The results are returned as a generator, so this operation is memory
efficient.

@param array|Options $options Optional Arguments
@param int $limit Upper limit for the number of records to return. stream()
guarantees to never return more than limit.  Default is no
limit
@param mixed $pageSize Number of records to fetch per request, when not set
will use the default value of 50 records.  If no
page_size is defined but a limit is defined, stream()
will attempt to read the limit with the most
efficient page size, i.e. min(limit, 1000)
@return \Twilio\Stream stream of results
Streams InviteInstance records from the API as a generator stream . This operation lazily loads records as efficiently as possible until the limit is reached . The results are returned as a generator so this operation is memory efficient .