class_docstr: Job returned by the MockedTimedExecutor, with the usual
  "done()" and "result()" methods.
class_docstr_tok: ["Job","returned","by","the","MockedTimedExecutor",",","with","the","usual","''","done","(",")","''","and","``","result","(",")","''","methods","."]
docstr: Return the result if "done()" is true, and raises
  a RuntimeError otherwise.
docstr_tok: ["Return","the","result","if","``","done","(",")","''","is","true",",","and","raises","a","RuntimeError","otherwise","."]
code: def result(self) -> tp.Any:
      """Return the result if "done()" is true, and raises
      a RuntimeError otherwise.
      """
      self.process()
      if not self.done():
          raise RuntimeError("Asking result which is not ready")
      self._is_read = True
      self._executor.notify_read(self)
      return self._output
  
imports: import heapq
  import typing
  from collections import deque
  from nevergrad.functions import ExperimentFunction
label_desc: Use image node_id 5 for calling the MockedTimedJob obj's underlying member method code with example usage: obj.result() and returns: self