@bluelibs/runner - v6.3.1
    Preparing search index...

    Interface ConcurrencyMiddlewareConfig

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

    Hierarchy

    • IdentityScopedMiddlewareConfig
      • ConcurrencyMiddlewareConfig
    Index

    Properties

    identityScope?: IdentityScopeConfig

    Controls identity partitioning for middleware-managed state.

    Omit this option to keep the shared cross-identity keyspace.

    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.