class_docstr: Abstract concurrent executor.
class_docstr_tok: ["Abstract","concurrent","executor","."]
code: def __init__(self, *, pbar_class=None):
      if pbar_class:
          self.pbar_class = pbar_class
  
file_path: OCRmyPDF/src/ocrmypdf/_concurrent.py
imports: from __future__ import annotations
  import threading
  from abc import ABC, abstractmethod
  from collections.abc import Iterable
  from typing import Any, Callable, TypeVar
  from ocrmypdf._progressbar import NullProgressBar, ProgressBar
label_desc: Use image node_id 1 to create a new Executor object from inherited base classes: ABC with example: obj = Executor()