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: Interrupt the scheduler and all running jobs.
docstr_tok: ["Interrupt","the","scheduler","and","all","running","jobs","."]
code: def interrupt(self):
      """Interrupt the scheduler and all running jobs."""
      self._interrupt_event.set()
  
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 8 for calling the Scheduler obj's underlying member method code with example usage: obj.interrupt() without return types