Skip to content
pythonwrench Development-0.5.0 documentation
pythonwrench.concurrent module
Initializing search
    pythonwrench
    pythonwrench
    • pythonwrench
      • pythonwrench package
        • Subpackages
        • Submodules
          • pythonwrench.abc module
          • pythonwrench.argparse module
          • pythonwrench.cast module
          • pythonwrench.checksum module
          • pythonwrench.concurrent module
            • C pythonwrench.concurrent.ThreadPoolExecutorHelper
              • M submit
              • M wait_all
          • pythonwrench.csv module
          • pythonwrench.dataclasses module
          • pythonwrench.datetime module
          • pythonwrench.difflib module
          • pythonwrench.disk_cache module
          • pythonwrench.entries module
          • pythonwrench.enum module
          • pythonwrench.functools module
          • pythonwrench.hashlib module
          • pythonwrench.importlib module
          • pythonwrench.inspect module
          • pythonwrench.json module
          • pythonwrench.jsonl module
          • pythonwrench.logging module
          • pythonwrench.math module
          • pythonwrench.os module
          • pythonwrench.pickle module
          • pythonwrench.random module
          • pythonwrench.re module
          • pythonwrench.semver module
          • pythonwrench.warnings module
    • C pythonwrench.concurrent.ThreadPoolExecutorHelper
      • M submit
      • M wait_all

    pythonwrench.concurrent module¶

    class pythonwrench.concurrent.ThreadPoolExecutorHelper(fn: Callable[[P], T], *, executor_kwds: dict[str, Any] | None = None, executor: ThreadPoolExecutor | None = None, futures: Iterable[Future[T]] = (), **default_fn_kwds)[source]¶

    Bases: Generic[P, T]

    submit(*args: __SPHINX_IMMATERIAL_TYPE_VAR__P_P, **kwargs: __SPHINX_IMMATERIAL_TYPE_VAR__P_P) → Future[T][source]¶
    wait_all(shutdown: bool = True, verbose: bool = True) → list[T][source]¶
    © Copyright Étienne Labbé (Labbeti).
    Created using Sphinx 8.2.3. and Sphinx-Immaterial