class_docstr: Iterator to allow async iteration of blocking/non-blocking iterator from the Client
docstr: Executed inside a `ThreadPoolExecutor` via `loop.run_in_executor` to avoid following exception.
  "StopIteration interacts badly with generators and cannot be raised into a Future"
  
  :return: next request or None
docstr_tok: ["Executed","inside","a","`","ThreadPoolExecutor","`","via","`","loop.run_in_executor","`","to","avoid","following","exception",".","``","StopIteration","interacts","badly","with","generators","and","can","not","be","raised","into","a","Future","''",":","return",":","next","request","or","None"]
code: def iterator__next__(self):
      """
      Executed inside a `ThreadPoolExecutor` via `loop.run_in_executor` to avoid following exception.
      "StopIteration interacts badly with generators and cannot be raised into a Future"
  
      :return: next request or None
      """
      try:
          return self.iterator.__next__()
      except StopIteration:
          return None
  
file_path: jina/jina/serve/stream/helper.py
imports: import asyncio
  from typing import AsyncIterator, Iterator, Optional, Union
  from jina.helper import get_or_reuse_loop
label_desc: Use image node_id 2 for calling the AsyncRequestsIterator obj's underlying member method code with example usage: obj.iterator__next__() and returns: self, None