class_docstr: Executor that mocks a steady state, by only providing 1 job at a time which is done() while
  not having been "read" (i.e. "result()" method was not executed).
  This ensures we control the order of update of the optimizer for benchmarking.
  
  Additionally, "delays" can be provided by the function so that jobs are not "done()" by order of
  submission. To this end, callables must implement a "computation_time" method.
class_docstr_tok: ["Executor","that","mocks","a","steady","state",",","by","only","providing","1","job","at","a","time","which","is","done","(",")","while","not","having","been","``","read","''","(","i.e",".","``","result","(",")","''","method","was","not","executed",")",".","This","ensures","we","control","the","order","of","update","of","the","optimizer","for","benchmarking",".","Additionally",",","``","delays","''","can","be","provided","by","the","function","so","that","jobs","are","not","``","done","(",")","''","by","order","of","submission",".","To","this","end",",","callables","must","implement","a","``","computation_time","''","method","."]
code: def __init__(self, batch_mode: bool = False) -> None:
      self.batch_mode = batch_mode
      self._to_be_processed: tp.Deque[MockedTimedJob] = deque()
      self._steady_priority_queue: tp.List[OrderedJobs] = []
      self._order = 0
      self._time = 0.0
  
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 MockedTimedExecutor object  with example: obj = MockedTimedExecutor(batch_mode)