class_docstr: A manager for parallel execution of jobs.
  
  A job must be of type :class:`Job` which produces a :class:`Result`
  object upon successful completion. The scheduler maintains a job and
  result queues.
  
  Notes:
      This class should be used as a context manager.
docstr: Dispatch the jobs for parallel execution.
  
  This method is non-blocking.
  
  Args:
      jobs: :obj:`List[Job]`. A list of jobs to run whenever resources
          are available.
  
  Notes:
      Although the jobs are scheduled to run immediately, the actual
      execution may take place after indefinite delay if the job runner
      is occupied with older jobs.
docstr_tok: ["Dispatch","the","jobs","for","parallel","execution",".","This","method","is","non-blocking",".","Args",":","jobs",":",":","obj",":","`","List","[","Job","]","`",".","A","list","of","jobs","to","run","whenever","resources","are","available",".","Notes",":","Although","the","jobs","are","scheduled","to","run","immediately",",","the","actual","execution","may","take","place","after","indefinite","delay","if","the","job","runner","is","occupied","with","older","jobs","."]
code: def dispatch(self, jobs: List[Job]):
      """Dispatch the jobs for parallel execution.
  
      This method is non-blocking.
  
      Args:
          jobs: :obj:`List[Job]`. A list of jobs to run whenever resources
              are available.
  
      Notes:
          Although the jobs are scheduled to run immediately, the actual
          execution may take place after indefinite delay if the job runner
          is occupied with older jobs.
      """
      for job in jobs:
          self._job_queue.put_nowait(job)
  
file_path: hypertunity/hypertunity/scheduling/scheduler.py
imports: import multiprocessing
  import time
  from typing import List
  import joblib
  from hypertunity import utils
  from .jobs import Job, Result
label_desc: Use image node_id 6 for calling the Scheduler obj's underlying member method code with example usage: obj.dispatch(jobs) without return types