class_docstr: Class for mapping a function to sequences.
  
  This will distribute the sequences according the a mapper, and call
  the function on each sub-sequence.  If called via map, then the function
  will be called once on each element, rather that each sub-sequence.
  
  Parameters
  ----------
  
  view : View instance
      The view to be used for execution
  f : callable
      The function to be wrapped into a remote function
  dist : str [default: 'b']
      The key for which mapObject to use to distribute sequences
      options are:
  
      * 'b' : use contiguous chunks in order
      * 'r' : use round-robin striping
  
  block : bool [default: None]
      Whether to wait for results or not.  The default behavior is
      to use the current `block` attribute of `view`
  chunksize : int or None
      The size of chunk to use when breaking up sequences in a load-balanced manner
  ordered : bool [default: True]
      Whether the result should be kept in order. If False,
      results become available as they arrive, regardless of submission order.
  return_exceptions : bool [default: False]
  **flags
      remaining kwargs are passed to View.temp_flags
class_docstr_tok: ["Class","for","mapping","a","function","to","sequences",".","This","will","distribute","the","sequences","according","the","a","mapper",",","and","call","the","function","on","each","sub-sequence",".","If","called","via","map",",","then","the","function","will","be","called","once","on","each","element",",","rather","that","each","sub-sequence",".","Parameters","--","--","--","--","--","view",":","View","instance","The","view","to","be","used","for","execution","f",":","callable","The","function","to","be","wrapped","into","a","remote","function","dist",":","str","[","default",":","'","b","'","]","The","key","for","which","mapObject","to","use","to","distribute","sequences","options","are",":","*","'","b","'",":","use","contiguous","chunks","in","order","*","'","r","'",":","use","round-robin","striping","block",":","bool","[","default",":","None","]","Whether","to","wait","for","results","or","not",".","The","default","behavior","is","to","use","the","current","`","block","`","attribute","of","`","view","`","chunksize",":","int","or","None","The","size","of","chunk","to","use","when","breaking","up","sequences","in","a","load-balanced","manner","ordered",":","bool","[","default",":","True","]","Whether","the","result","should","be","kept","in","order",".","If","False",",","results","become","available","as","they","arrive",",","regardless","of","submission","order",".","return_exceptions",":","bool","[","default",":","False","]","*","*","flags","remaining","kwargs","are","passed","to","View.temp_flags"]
docstr: call a function on each element of one or more sequence(s) remotely.
  This should behave very much like the builtin map, but return an AsyncMapResult
  if self.block is False.
  
  That means it can take generators (will be cast to lists locally),
  and mismatched sequence lengths will be padded with None.
docstr_tok: ["call","a","function","on","each","element","of","one","or","more","sequence","(","s",")","remotely",".","This","should","behave","very","much","like","the","builtin","map",",","but","return","an","AsyncMapResult","if","self.block","is","False",".","That","means","it","can","take","generators","(","will","be","cast","to","lists","locally",")",",","and","mismatched","sequence","lengths","will","be","padded","with","None","."]
code: def map(self, *sequences):
      """call a function on each element of one or more sequence(s) remotely.
      This should behave very much like the builtin map, but return an AsyncMapResult
      if self.block is False.
  
      That means it can take generators (will be cast to lists locally),
      and mismatched sequence lengths will be padded with None.
      """
      return self(*sequences, __ipp_mapping=True)
  
file_path: ipyparallel/ipyparallel/client/remotefunction.py
imports: import sys
  import warnings
  from inspect import signature
  from decorator import decorator
  from ..serialize import PrePickled
  from .None import map
  from .asyncresult import AsyncMapResult
label_desc: Use image node_id 3 for calling the ParallelFunction obj's underlying member method code with example usage: obj.map() and returns: self