class_docstr: A standard class for monitoring the progress of a VTK algorithm.
  
  This must be use in a ``with`` context and it will block keyboard
  interrupts from happening until the exit event as interrupts will crash
  the kernel if the VTK algorithm is still executing.
  
  Parameters
  ----------
  algorithm
      VTK algorithm or filter.
  
  message : str, default: ""
      Message to display in the progress bar.
docstr: Pass signal to custom interrupt handler.
docstr_tok: ["Pass","signal","to","custom","interrupt","handler","."]
code: def handler(self, sig, frame):
      """Pass signal to custom interrupt handler."""
      self._interrupt_signal_received = (sig, frame)
      logging.debug(
          "SIGINT received. Delaying KeyboardInterrupt until VTK algorithm finishes."
      )
  
imports: import collections
  import logging
  import os
  import re
  import signal
  import sys
  import threading
  import traceback
  from pyvista.core import _vtk_core
label_desc: Use image node_id 2 for calling the ProgressMonitor obj's underlying member method code with example usage: obj.handler(sig, frame) without return types