class_docstr: MPI-based asynchronous executor.
class_docstr_tok: ["MPI-based","asynchronous","executor","."]
docstr: Return an iterator equivalent to ``map(fn, *iterables)``.
  
  Args:
      fn: A callable that will take as many arguments as there are
          passed iterables.
      iterables: Iterables yielding positional arguments to be passed to
          the callable.
      timeout: The maximum number of seconds to wait. If ``None``, then
          there is no limit on the wait time.
      chunksize: The size of the chunks the iterable will be broken into
          before being passed to a worker process.
      unordered: If ``True``, yield results out-of-order, as completed.
  
  Returns:
      An iterator equivalent to built-in ``map(func, *iterables)``
      but the calls may be evaluated out-of-order.
  
  Raises:
      TimeoutError: If the entire result iterator could not be generated
          before the given timeout.
      Exception: If ``fn(*args)`` raises for any values.
docstr_tok: ["Return","an","iterator","equivalent","to","``","map","(","fn",",","*","iterables",")","``",".","Args",":","fn",":","A","callable","that","will","take","as","many","arguments","as","there","are","passed","iterables",".","iterables",":","Iterables","yielding","positional","arguments","to","be","passed","to","the","callable",".","timeout",":","The","maximum","number","of","seconds","to","wait",".","If","``","None","``",",","then","there","is","no","limit","on","the","wait","time",".","chunksize",":","The","size","of","the","chunks","the","iterable","will","be","broken","into","before","being","passed","to","a","worker","process",".","unordered",":","If","``","True","``",",","yield","results","out-of-order",",","as","completed",".","Returns",":","An","iterator","equivalent","to","built-in","``","map","(","func",",","*","iterables",")","``","but","the","calls","may","be","evaluated","out-of-order",".","Raises",":","TimeoutError",":","If","the","entire","result","iterator","could","not","be","generated","before","the","given","timeout",".","Exception",":","If","``","fn","(","*","args",")","``","raises","for","any","values","."]
code: def map(
      self, fn, *iterables, timeout=None, chunksize=1, unordered=False
  ):
      """Return an iterator equivalent to ``map(fn, *iterables)``.
  
      Args:
          fn: A callable that will take as many arguments as there are
              passed iterables.
          iterables: Iterables yielding positional arguments to be passed to
              the callable.
          timeout: The maximum number of seconds to wait. If ``None``, then
              there is no limit on the wait time.
          chunksize: The size of the chunks the iterable will be broken into
              before being passed to a worker process.
          unordered: If ``True``, yield results out-of-order, as completed.
  
      Returns:
          An iterator equivalent to built-in ``map(func, *iterables)``
          but the calls may be evaluated out-of-order.
  
      Raises:
          TimeoutError: If the entire result iterator could not be generated
              before the given timeout.
          Exception: If ``fn(*args)`` raises for any values.
  
      """  # noqa: D402
      return self.starmap(
          fn, zip(*iterables), timeout, chunksize, unordered
      )
  
imports: import sys
  import time
  import functools
  import itertools
  import threading
  from ._base import Future
  from ._base import Executor
  from ._base import as_completed
  from .None import _core
label_desc: Use image node_id 7 for calling the MPIPoolExecutor obj's underlying member method code with example usage: obj.map(fn) and returns: self