def iter_native(self, timeout=None, interval=0.5, no_ack=True):
    'Backend optimized version of :meth:`iterate`.\n\n        .. versionadded:: 2.2\n\n        Note that this does not support collecting the results\n        for different task types using different backends.\n\n        This is currently only supported by the amqp, Redis and cache\n        result backends.\n\n        '
    results = self.results
    if (not results):
        return iter([])
    return self.backend.get_many(set((r.id for r in results)), timeout=timeout, interval=interval, no_ack=no_ack)
Backend optimized version of :meth:`iterate`.

.. versionadded:: 2.2

Note that this does not support collecting the results
for different task types using different backends.

This is currently only supported by the amqp, Redis and cache
result backends.
def iter_native(self, timeout=None, interval=0.5, no_ack=True):
    'Backend optimized version of :meth:`iterate`.\n\n        .. versionadded:: 2.2\n\n        Note that this does not support collecting the results\n        for different task types using different backends.\n\n        This is currently only supported by the amqp, Redis and cache\n        result backends.\n\n        '
    results = self.results
    if (not results):
        return iter([])
    return self.backend.get_many(set((r.id for r in results)), timeout=timeout, interval=interval, no_ack=no_ack)