class_docstr: Base executor class
  
  Parameters
  ----------
  n_workers: int
      The number of workers the Executor should have. Depending on the backend
      it may spawn this many worker or connect to running instance that
      dispatch work to ``n_workers`` workers.
docstr: Wait for all futures to complete execution.
  
  Parameters
  ----------
  futures: `concurrent.futures.Futures` or equivalent interface
      The objects returned by ``submit()`` of the executor.
docstr_tok: ["Wait","for","all","futures","to","complete","execution",".","Parameters","--","--","--","--","--","futures",":","`","concurrent.futures.Futures","`","or","equivalent","interface","The","objects","returned","by","``","submit","(",")","``","of","the","executor","."]
code: def wait(self, futures):
      """Wait for all futures to complete execution.
  
      Parameters
      ----------
      futures: `concurrent.futures.Futures` or equivalent interface
          The objects returned by ``submit()`` of the executor.
  
      """
  
imports: from orion.core.utils import GenericFactory
label_desc: Use image node_id 5 for calling the BaseExecutor obj's underlying member method code with example usage: obj.wait(futures) without return types