@lzwme/fe-utils
    Preparing search index...

    Class Limiter<T>

    A helper to queue N promises and run them all with a max degree of parallelism. The helper ensures that at any time no more than M promises are running at the same time.

    Type Parameters

    • T
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Parameters

      • callback: (...args: unknown[]) => unknown

      Returns void