@shopify/cli-kit
    Preparing search index...
    • Throttles a provided action, limiting the number of globally parallel requests, or by the last seen API limit headers.

      Type Parameters

      • T

      Parameters

      • request: () => T

        A function performing a request.

      Returns Promise<T>

      • The result of the request, once it eventually runs.