class_docstr: Turn an existing function into a remote function.
  
  Parameters
  ----------
  
  view : View instance
      The view to be used for execution
  f : callable
      The function to be wrapped into a remote function
  block : bool [default: None]
      Whether to wait for results or not.  The default behavior is
      to use the current `block` attribute of `view`
  
  **flags : remaining kwargs are passed to View.temp_flags
class_docstr_tok: ["Turn","an","existing","function","into","a","remote","function",".","Parameters","--","--","--","--","--","view",":","View","instance","The","view","to","be","used","for","execution","f",":","callable","The","function","to","be","wrapped","into","a","remote","function","block",":","bool","[","default",":","None","]","Whether","to","wait","for","results","or","not",".","The","default","behavior","is","to","use","the","current","`","block","`","attribute","of","`","view","`","*","*","flags",":","remaining","kwargs","are","passed","to","View.temp_flags"]
code: def __call__(self, *args, **kwargs):
      block = self.view.block if self.block is None else self.block
      with self.view.temp_flags(block=block, **self.flags):
          return self.view.apply(self.func, *args, **kwargs)
  
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 2 for calling the RemoteFunction obj's underlying member method code with example usage: obj.__call__() and returns: self