def stream(self, end_date=values.unset, friendly_name=values.unset,<EOL>minutes=values.unset, start_date=values.unset,<EOL>task_channel=values.unset, split_by_wait_time=values.unset,<EOL>limit=None, page_size=None):
limits = self._version.read_limits(limit, page_size)<EOL>page = self.page(<EOL>end_date=end_date,<EOL>friendly_name=friendly_name,<EOL>minutes=minutes,<EOL>start_date=start_date,<EOL>task_channel=task_channel,<EOL>split_by_wait_time=split_by_wait_time,<EOL>page_size=limits['<STR_LIT>'],<EOL>)<EOL>return self._version.stream(page, limits['<STR_LIT>'], limits['<STR_LIT>'])<EOL>
Streams TaskQueuesStatisticsInstance 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 datetime end_date: Filter cumulative statistics by an end date.
:param unicode friendly_name: Filter the TaskQueue stats based on a TaskQueue's name
:param unicode minutes: Filter cumulative statistics by up to 'x' minutes in the past.
:param datetime start_date: Filter cumulative statistics by a start date.
:param unicode task_channel: Filter real-time and cumulative statistics by TaskChannel.
:param unicode split_by_wait_time: A comma separated values for viewing splits of tasks canceled and accepted above the given threshold in seconds.
: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 int page_size: 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)

:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.taskrouter.v1.workspace.task_queue.task_queues_statistics.TaskQueuesStatisticsInstance]