class_docstr: Wraps a partial function to act as a Future
class_docstr_tok: ["Wraps","a","partial","function","to","act","as","a","Future"]
code: def wait(self, timeout=None):
      if self.ready():
          return
  
      try:
          self.result = self.future()
      except Exception as e:
          self.exception = e
  
imports: import functools
  import time
  import traceback
  from orion.executor.base import AsyncException, AsyncResult, BaseExecutor, ExecutorClosed, Future
label_desc: Use image node_id 3 for calling the _Future obj's underlying member method code with example usage: obj.wait(timeout) without return types