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","."]
code: def __init__(
      self,
      func: tp.Callable[..., tp.Any],
      args: tp.Tuple[tp.Any, ...],
      kwargs: tp.Dict[str, tp.Any],
      executor: "MockedTimedExecutor",
  ) -> None:
      self._executor = executor
      self._time = executor.time  # time at instantiation
      # function
      self._func = func
      self._args = args
      self._kwargs = kwargs
      # job specific
      self._output: tp.Any = None
      self._delay: tp.Optional[
          float
      ] = None  # float when properly job is computed
      self._done = False
      self._is_read = False
  
imports: import heapq
  import typing
  from collections import deque
  from nevergrad.functions import ExperimentFunction
label_desc: Use image node_id 1 to create a new MockedTimedJob object  with example: obj = MockedTimedJob(func, args, kwargs, executor)