class_docstr: Abstract concurrent executor.
class_docstr_tok: ["Abstract","concurrent","executor","."]
docstr: Custom executors should override this method.
docstr_tok: ["Custom","executors","should","override","this","method","."]
code: def _execute(
      self,
      *,
      use_threads: bool,
      max_workers: int,
      progress_kwargs: dict,
      worker_initializer: Callable,
      task: Callable,
      task_arguments: Iterable,
      task_finished: Callable,
  ):
      """Custom executors should override this method."""
  
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 3 for calling the Executor obj's underlying member method code with example usage: obj._execute() without return types