@vgerbot/async
    Preparing search index...

    Class PoolTaskExecutor

    A task executor that processes tasks with a specified maximum concurrency limit. It uses a pool of workers to pull tasks from a queue as soon as a worker becomes available.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Checks if the executor is shut down and throws ExecutorShutdownError if so. Subclasses should call this at the start of exec().

      Parameters

      • message: string = "Executor permanently shut down"

        Optional custom error message

      Returns void

      if the executor is shut down