docstr: instantiate a pool and execute the pool's map iterator
  
  Args:
      func: function object to map
      *args: positional arguments for map iterator
      **kwds: keyword arguments for map iterator
  
  Returns:
      results from execution of ``map(func, *args, **kwds)`` iterator
  
  NOTE: initializes a new worker pool with each call
      
docstr_tok: ["instantiate","a","pool","and","execute","the","pool","'s","map","iterator","Args",":","func",":","function","object","to","map","*","args",":","positional","arguments","for","map","iterator","*","*","kwds",":","keyword","arguments","for","map","iterator","Returns",":","results","from","execution","of","``","map","(","func",",","*","args",",","*","*","kwds",")","``","iterator","NOTE",":","initializes","a","new","worker","pool","with","each","call"]
code: def __call__(self, func, *args, **kwds):
      """instantiate a pool and execute the pool's map iterator
  
      Args:
          func: function object to map
          *args: positional arguments for map iterator
          **kwds: keyword arguments for map iterator
  
      Returns:
          results from execution of ``map(func, *args, **kwds)`` iterator
  
      NOTE: initializes a new worker pool with each call
      """
      if self.pool is None:  # XXX: args, kwds?
          return map(func, *args)
      self._pool = pool = self.pool(*self.args, **self.kwds)
      imap = getattr(pool, "imap", None)
      if imap is None:  # NOTE: should not happen
          return NotImplemented
      result = imap(func, *args, **kwds)
      if self._close:
          self.close()
      if self._join:
          self.join()
      if self._clear:
          self.clear()
      return result
  
label_desc: Use image node_id 2 for calling the Imap obj's underlying member method code with example usage: obj.__call__(func) and returns: result, map, NotImplemented