class_docstr: Asynchronous result.
docstr: Return the result when it arrives.
  
  If *timeout* is not `None` and the result does not arrive within
  *timeout* seconds then raise `TimeoutError`.
  
  If the remote call raised an exception then that exception will be
  reraised.
docstr_tok: ["Return","the","result","when","it","arrives",".","If","*","timeout","*","is","not","`","None","`","and","the","result","does","not","arrive","within","*","timeout","*","seconds","then","raise","`","TimeoutError","`",".","If","the","remote","call","raised","an","exception","then","that","exception","will","be","reraised","."]
code: def get(self, timeout=None):
      """Return the result when it arrives.
  
      If *timeout* is not `None` and the result does not arrive within
      *timeout* seconds then raise `TimeoutError`.
  
      If the remote call raised an exception then that exception will be
      reraised.
  
      """
      self.wait(timeout)
      if not self.ready():
          raise TimeoutError
      try:
          return self.future.result()
      except _futures.CancelledError:
          raise TimeoutError from None
  
imports: from os import cpu_count
  import functools
  import operator
  import threading
  import warnings
  import weakref
  from ..None import futures
label_desc: Use image node_id 2 for calling the AsyncResult obj's underlying member method code with example usage: obj.get(timeout) and returns: self