@mikeyt23/node-cli-utils
    Preparing search index...

    Class ParallelExecutor<InputType, OutputType>

    This class simulates a semaphore, running as many of the tasks simultaneously as possible while staying under the limit of the value passed for maxConcurrent.

    Note that NodeJS is single-threaded, so this is more about prevention of overwhelming I/O systems and external services than it is about true parallel execution.

    Type Parameters

    • InputType
    • OutputType
    Index

    Constructors

    Methods

    Constructors

    Methods