docstr: Make a single, nonblocking pass through all Queries that are configured to run.
  
  It is up to the caller to call this method over and over.
  
  Return:
      bool: True when all work is finished. False otherwise.
docstr_tok: ["Make","a","single",",","nonblocking","pass","through","all","Queries","that","are","configured","to","run",".","It","is","up","to","the","caller","to","call","this","method","over","and","over",".","Return",":","bool",":","True","when","all","work","is","finished",".","False","otherwise","."]
code: def nonblocking_single_pass(self):
      """Make a single, nonblocking pass through all Queries that are configured to run.
  
      It is up to the caller to call this method over and over.
  
      Return:
          bool: True when all work is finished. False otherwise.
      """
      self._logger.info(
          "Discovered {} query packs to execute".format(
              self._manager.num_registered_queries
          )
      )
  
      self._manager.initialize_query_packs()
      self._manager.start_queries()
  
      finished_queries = self._manager.finished_query_packs
  
      for query_pack in finished_queries:
          self._handle_finished_query(query_pack)
  
      if len(finished_queries) == self._manager.num_registered_queries:
          self._logger.info("All queries completed.")
          return True
  
      return False
  
file_path: streamalert/streamalert/scheduled_queries/command/processor.py
imports: from logging import Logger
  from streamalert.scheduled_queries.query_packs.manager import QueryPacksManager
  from streamalert.scheduled_queries.state.state_manager import StateManager
  from streamalert.scheduled_queries.streamalert.kinesis import KinesisClient
label_desc: Use image node_id 2 for calling the CommandProcessor obj's underlying member method code with example usage: obj.nonblocking_single_pass() and returns: False, True