@bluelibs/runner - v5.5.0
    Preparing search index...

    Interface ConcurrencyMiddlewareConfig

    interface ConcurrencyMiddlewareConfig {
        key?: string;
        limit?: number;
        semaphore?: Semaphore;
    }
    Index

    Properties

    key?: string

    Optional key to identify a shared semaphore. If provided, the semaphore will be shared across all tasks using the same key.

    limit?: number

    Maximum number of concurrent executions. If provided, a Semaphore will be created and shared for this config object.

    semaphore?: Semaphore

    An existing Semaphore instance to use.